$ ./a.out
atexit_max = 2147483647
Last active
January 1, 2016 04:49
-
-
Save hfm/8094196 to your computer and use it in GitHub Desktop.
Linuxシステムプログラミング p.143
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
| #include <stdio.h> | |
| #include <unistd.h> | |
| int main(void) | |
| { | |
| long atexit_max = sysconf(_SC_ATEXIT_MAX); | |
| printf("atexit_max = %ld\n", atexit_max); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment