Results of 131 - 140 of about 194 for sizeof (0.026 sec.)
- Man page of UNAME 4805
- UNAME Section: Linux Programmer's Manual (2) Updated: 2019-10-10 Index JM Home Page 名前 uname -
...
きり言って、これらの定数を使うのは悪い考え方であり、 sizeof(...) を使うべきである。 インターネットホスト名で使 ...
-
https://man.plustar.jp/manpage/man2/uname.2.html
- [similar]
- Man page of GETGRENT_R 4805
- GETGRENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 ge
...
setgrent(); while (1) { i = getgrent_r(&grp, buf, sizeof(buf), &grpp); if (i) break; printf("%s (%jd):", gr ...
-
https://man.plustar.jp/manpage/man3/fgetgrent_r.3.html
- [similar]
- Man page of GETPWENT_R 4805
- GETPWENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 ge
...
; setpwent(); while (1) { i = getpwent_r(&pw, buf, sizeof(buf), &pwp); if (i) break; printf("%s (%jd)\tHOME ...
-
https://man.plustar.jp/manpage/man3/fgetpwent_r.3.html
- [similar]
- Man page of GETGRENT_R 4805
- GETGRENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 ge
...
setgrent(); while (1) { i = getgrent_r(&grp, buf, sizeof(buf), &grpp); if (i) break; printf("%s (%jd):", gr ...
-
https://man.plustar.jp/manpage/man3/getgrent_r.3.html
- [similar]
- Man page of GETGROUPLIST 4805
- GETGROUPLIST Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前
...
} ngroups = atoi(argv[2]); gid_t *groups = malloc(sizeof(*groups) * ngroups); if (groups == NULL) { perror( ...
-
https://man.plustar.jp/manpage/man3/getgrouplist.3.html
- [similar]
- Man page of GETPWENT_R 4805
- GETPWENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 ge
...
; setpwent(); while (1) { i = getpwent_r(&pw, buf, sizeof(buf), &pwp); if (i) break; printf("%s (%jd)\tHOME ...
-
https://man.plustar.jp/manpage/man3/getpwent_r.3.html
- [similar]
- Man page of INSQUE 4805
- INSQUE Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 insque
...
t * new_element(void) { struct element *e = malloc(sizeof(*e)); if (e == NULL) { fprintf(stderr, "malloc() f ...
-
https://man.plustar.jp/manpage/man3/insque.3.html
- [similar]
- Man page of MBRTOWC 4805
- MBRTOWC Section: Linux Programmer's Manual (3) Updated: 2019-03-06 Index JM Home Page 名前 mbrto
...
期状態に初期化できる。以下に例を示す。 memset(&a, 0, sizeof(a)); 返り値 L'\0' 以外のワイド文字を認識した場合に ...
-
https://man.plustar.jp/manpage/man3/mbrtowc.3.html
- [similar]
- Man page of MBSTOWCS 4805
- MBSTOWCS Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 mbst
...
ide character (L'\0'). */ wcs = calloc(mbslen + 1, sizeof(*wcs)); if (wcs == NULL) { perror("calloc"); exit( ...
-
https://man.plustar.jp/manpage/man3/mbstowcs.3.html
- [similar]
- Man page of QSORT 4805
- QSORT Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 qsort,
...
); exit(EXIT_FAILURE); } qsort(&argv[1], argc - 1, sizeof(char *), cmpstringp); for (int j = 1; j < argc; j+ ...
-
https://man.plustar.jp/manpage/man3/qsort.3.html
- [similar]