x64-httpd/constants.c
2025-05-07 08:04:01 +00:00

14 lines
438 B
C

#include <stdio.h>
#include <sys/socket.h>
#include <fcntl.h>
// printf("x %d\n", x);
void main() {
printf("AF_UNIX %d\n", AF_UNIX);
printf("SOCK_STREAM %d\n", SOCK_STREAM);
printf("F_GETFL %d\n", F_GETFL);
printf("F_SETFL %d\n", F_SETFL);
printf("O_NONBLOCK %d\n", O_NONBLOCK);
printf("sizeof(int) %d\n", sizeof(int));
printf("sizeof(short) %d\n", sizeof(short));
}