Results of 11 - 20 of about 194 for sizeof (0.019 sec.)
- Man page of CMSG 7984
- CMSG Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 CMSG_ALI
...
aning that these values can be used to declare the size of global variables. This may not be portable, howev ...
== IP_TTL) { memcpy(&receive_ttl, CMSG_DATA(cmsg), sizeof(received_ttl)); break; } } if (cmsg == NULL) { /* ...
struct iovec io = { .iov_base = iobuf, .iov_len = sizeof(iobuf) }; union { /* Ancillary data buffer, wrappe ...
sure it is suitably aligned */ char buf[CMSG_SPACE(sizeof(myfds))]; struct cmsghdr align; } u; msg.msg_iov = ...
-
https://man.plustar.jp/manpage/man3/cmsg.3.html
- [similar]
- Man page of MB_LEN_MAX 7734
- MB_LEN_MAX Section: Linux Programmer's Manual (3) Updated: 2015-07-23 Index JM Home Page 名前 MB
...
OSIX.1-2001, POSIX.1-2008, C99. 注意 MB_LEN_MAX と sizeof(wchar_t) の値にはなんの関係もない。 glibc では MB_ ...
は通常は 16 (glibc バージョン 2.2 より前では 6) で、 sizeof(wchar_t) は 4 である。 関連項目 MB_CUR_MAX (3) この ...
ages , 準拠 , 注意 , wchar , 文書 , プロジェクト , sizeof , 名前 , Index , www Linux マニュアル 一覧 [ man1 ...
-
https://man.plustar.jp/manpage/man3/MB_LEN_MAX.3.html
- [similar]
- Man page of GETADDRINFO_A 7734
- GETADDRINFO_A Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前
...
(int i = 0; i < argc - 1; i++) { reqs[i] = malloc(sizeof(*reqs[0])); if (reqs[i] == NULL) { perror("malloc" ...
); exit(EXIT_FAILURE); } memset(reqs[i], 0, sizeof(*reqs[0])); reqs[i]->ar_name = argv[i + 1]; } ret ...
= getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST); if (ret != 0) { f ...
puts("> ", stdout); fflush(stdout); if (fgets(buf, sizeof(buf), stdin) == NULL) return NULL; if (buf[strlen( ...
-
https://man.plustar.jp/manpage/man3/gai_cancel.3.html
- [similar]
- Man page of GETADDRINFO_A 7734
- GETADDRINFO_A Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前
...
(int i = 0; i < argc - 1; i++) { reqs[i] = malloc(sizeof(*reqs[0])); if (reqs[i] == NULL) { perror("malloc" ...
); exit(EXIT_FAILURE); } memset(reqs[i], 0, sizeof(*reqs[0])); reqs[i]->ar_name = argv[i + 1]; } ret ...
= getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST); if (ret != 0) { f ...
puts("> ", stdout); fflush(stdout); if (fgets(buf, sizeof(buf), stdin) == NULL) return NULL; if (buf[strlen( ...
-
https://man.plustar.jp/manpage/man3/gai_error.3.html
- [similar]
- Man page of GETADDRINFO_A 7734
- GETADDRINFO_A Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前
...
(int i = 0; i < argc - 1; i++) { reqs[i] = malloc(sizeof(*reqs[0])); if (reqs[i] == NULL) { perror("malloc" ...
); exit(EXIT_FAILURE); } memset(reqs[i], 0, sizeof(*reqs[0])); reqs[i]->ar_name = argv[i + 1]; } ret ...
= getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST); if (ret != 0) { f ...
puts("> ", stdout); fflush(stdout); if (fgets(buf, sizeof(buf), stdin) == NULL) return NULL; if (buf[strlen( ...
-
https://man.plustar.jp/manpage/man3/gai_suspend.3.html
- [similar]
- Man page of GETADDRINFO_A 7734
- GETADDRINFO_A Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前
...
(int i = 0; i < argc - 1; i++) { reqs[i] = malloc(sizeof(*reqs[0])); if (reqs[i] == NULL) { perror("malloc" ...
); exit(EXIT_FAILURE); } memset(reqs[i], 0, sizeof(*reqs[0])); reqs[i]->ar_name = argv[i + 1]; } ret ...
= getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST); if (ret != 0) { f ...
puts("> ", stdout); fflush(stdout); if (fgets(buf, sizeof(buf), stdin) == NULL) return NULL; if (buf[strlen( ...
-
https://man.plustar.jp/manpage/man3/getaddrinfo_a.3.html
- [similar]
- Man page of BSEARCH 7485
- BSEARCH Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 bsear
...
11, "nov" }, {12, "dec" } }; #define nr_of_months (sizeof(months)/sizeof(months[0])) static int compmi(const ...
t argc, char **argv) { qsort(months, nr_of_months, sizeof(months[0]), compmi); for (int i = 1; i < argc; i++ ...
argv[i]; res = bsearch(&key, months, nr_of_months, sizeof(months[0]), compmi); if (res == NULL) printf("'%s' ...
-
https://man.plustar.jp/manpage/man3/bsearch.3.html
- [similar]
- Man page of SYSCTL 7246
- SYSCTL Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sysctl
...
vailable room for old value, overwritten by actual size of old value */ void *newval; /* 0 or address of new ...
value */ size_t newlen; /* size of new value */ }; このコールは /proc/sys の下のディ ...
me[] = { CTL_KERN, KERN_OSTYPE }; memset(&args, 0, sizeof(args)); args.name = name; args.nlen = sizeof(name) ...
/sizeof(name[0]); args.oldval = osname; args.oldlenp = &os ...
-
https://man.plustar.jp/manpage/man2/_sysctl.2.html
- [similar]
- Man page of SYSCTL 7246
- SYSCTL Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sysctl
...
vailable room for old value, overwritten by actual size of old value */ void *newval; /* 0 or address of new ...
value */ size_t newlen; /* size of new value */ }; このコールは /proc/sys の下のディ ...
me[] = { CTL_KERN, KERN_OSTYPE }; memset(&args, 0, sizeof(args)); args.name = name; args.nlen = sizeof(name) ...
/sizeof(name[0]); args.oldval = osname; args.oldlenp = &os ...
-
https://man.plustar.jp/manpage/man2/sysctl.2.html
- [similar]
- Man page of OFFSETOF 6996
- OFFSETOF Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 offs
...
な出力を返す。 $ ./a.out offsets: i=0; c=4; d=8 a=16 sizeof(struct s)=16 プログラムのソース #include < stddef. ...
etof(struct s, d), offsetof(struct s, a)); printf("sizeof(struct s)=%zu\n", sizeof(struct s)); exit(EXIT_SUC ...
-
https://man.plustar.jp/manpage/man3/offsetof.3.html
- [similar]