Created
January 20, 2017 03:18
-
-
Save toughrogrammer/edfe020f70d64aa4d0b675c2b9927df0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void *libz = dlopen("/usr/lib/libz.dylib", RTLD_LAZY); | |
int (*deflate)(z_streamp, int) = (int (*)(z_streamp, int))dlsym(libz, "deflate"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment