JM Project

JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 381 for success (0.002 sec.)
Man page of GETPROTOENT_R 8871
GETPROTOENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getprotoent_r, getprotobyname_r, getprotobynumber_r - プロトコル エントリーを取得する (リエントラント版) 書式 #include < netdb.h > int getproto ... ェルのセッションは、実行例を示している。 $ ./a.out tcp 1 ERANGE! Retrying with larger buffer getprotobyname_r() returned: 0 (success) (buflen=78) p_name=tcp; p_proto=6; aliases=TCP $ ./a.out xxx 1 ERANGE! Retrying with larger buffer getprotobyname_r() ret ... urned: 0 (success) (buflen=100) Call failed/record not found プログラムのソース #define _GNU_SOURCE #include < ctype.h > #include < netdb.h ... UF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getprotobyname_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ...
https://man.mtool.work/man/20260915/man3/getprotobyname_r.3.html
Man page of GETPROTOENT_R 8871
GETPROTOENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getprotoent_r, getprotobyname_r, getprotobynumber_r - プロトコル エントリーを取得する (リエントラント版) 書式 #include < netdb.h > int getproto ... ェルのセッションは、実行例を示している。 $ ./a.out tcp 1 ERANGE! Retrying with larger buffer getprotobyname_r() returned: 0 (success) (buflen=78) p_name=tcp; p_proto=6; aliases=TCP $ ./a.out xxx 1 ERANGE! Retrying with larger buffer getprotobyname_r() ret ... urned: 0 (success) (buflen=100) Call failed/record not found プログラムのソース #define _GNU_SOURCE #include < ctype.h > #include < netdb.h ... UF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getprotobyname_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ...
https://man.mtool.work/man/20260915/man3/getprotobynumber_r.3.html
Man page of GETPROTOENT_R 8871
GETPROTOENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getprotoent_r, getprotobyname_r, getprotobynumber_r - プロトコル エントリーを取得する (リエントラント版) 書式 #include < netdb.h > int getproto ... ェルのセッションは、実行例を示している。 $ ./a.out tcp 1 ERANGE! Retrying with larger buffer getprotobyname_r() returned: 0 (success) (buflen=78) p_name=tcp; p_proto=6; aliases=TCP $ ./a.out xxx 1 ERANGE! Retrying with larger buffer getprotobyname_r() ret ... urned: 0 (success) (buflen=100) Call failed/record not found プログラムのソース #define _GNU_SOURCE #include < ctype.h > #include < netdb.h ... UF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getprotobyname_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ...
https://man.mtool.work/man/20260915/man3/getprotoent_r.3.html
Man page of GETSERVENT_R 8871
GETSERVENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getservent_r, getservbyname_r, getservbyport_r - サービスエントリーを 取得する (リエントラント版) 書式 #include < netdb.h > int getservent_r(str ... ェルのセッションは実行例を示している。 $ ./a.out 7 tcp 1 ERANGE! Retrying with larger buffer getservbyport_r() returned: 0 (success) (buflen=87) s_name=echo; s_proto=tcp; s_port=7; aliases= $ ./a.out 77777 tcp getservbyport_r() returned: 0 (success) (buf ... BUF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getservbyport_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ... ohs(result_buf.s_port)); for (char **p = result_buf.s_aliases; *p != NULL; p++) printf("%s ", *p); printf("\n"); exit(EXIT_SUCCESS); } 関連項目 getservent (3), services (5) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ...
https://man.mtool.work/man/20260915/man3/getservbyname_r.3.html
Man page of GETSERVENT_R 8871
GETSERVENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getservent_r, getservbyname_r, getservbyport_r - サービスエントリーを 取得する (リエントラント版) 書式 #include < netdb.h > int getservent_r(str ... ェルのセッションは実行例を示している。 $ ./a.out 7 tcp 1 ERANGE! Retrying with larger buffer getservbyport_r() returned: 0 (success) (buflen=87) s_name=echo; s_proto=tcp; s_port=7; aliases= $ ./a.out 77777 tcp getservbyport_r() returned: 0 (success) (buf ... BUF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getservbyport_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ... ohs(result_buf.s_port)); for (char **p = result_buf.s_aliases; *p != NULL; p++) printf("%s ", *p); printf("\n"); exit(EXIT_SUCCESS); } 関連項目 getservent (3), services (5) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ...
https://man.mtool.work/man/20260915/man3/getservbyport_r.3.html
Man page of GETSERVENT_R 8871
GETSERVENT_R Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getservent_r, getservbyname_r, getservbyport_r - サービスエントリーを 取得する (リエントラント版) 書式 #include < netdb.h > int getservent_r(str ... ェルのセッションは実行例を示している。 $ ./a.out 7 tcp 1 ERANGE! Retrying with larger buffer getservbyport_r() returned: 0 (success) (buflen=87) s_name=echo; s_proto=tcp; s_port=7; aliases= $ ./a.out 77777 tcp getservbyport_r() returned: 0 (success) (buf ... BUF); exit(EXIT_FAILURE); } } } while (s == ERANGE); printf("getservbyport_r() returned: %s (buflen=%d)\n", (s == 0) ? "0 (success)" : (s == ENOENT) ? "ENOENT" : strerror(s), buflen); if (s != 0 || result == NULL) { printf("Call failed/record not found\ ... ohs(result_buf.s_port)); for (char **p = result_buf.s_aliases; *p != NULL; p++) printf("%s ", *p); printf("\n"); exit(EXIT_SUCCESS); } 関連項目 getservent (3), services (5) この文書について この man ページは Linux man-pages プロジェクトのリリース 5.10 の ...
https://man.mtool.work/man/20260915/man3/getservent_r.3.html
Man page of PIPE 8347
PIPE Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 pipe, pipe2 - パイプを生成する 書式 #include < unistd.h > /* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64; see NOTES */ struct fd_pair { long fd[2]; ... erred to by the new file descriptors. Using this flag saves extra calls to fcntl (2) to achieve the same result. 返り値 On success, zero is returned. On error, -1 is returned, errno is set appropriately, and pipefd is left unchanged. On Linux (and other ... in a functional manner: the call doesn't take any arguments and returns a pair of file descriptors as the return value on success. The glibc pipe () wrapper function transparently deals with this. See syscall (2) for information regarding registers use ... (read(pipefd[0], &buf, 1) > 0) write(STDOUT_FILENO, &buf, 1); write(STDOUT_FILENO, "\n", 1); close(pipefd[0]); _exit(EXIT_SUCCESS); } else { /* 親プロセスは argv[1] をパイプへ書き込む */ close(pipefd[0]); /* 使用しない read 側はクローズする */ write(pi ...
https://man.mtool.work/man/20260915/man2/pipe.2.html
Man page of PIPE 8347
PIPE Section: Linux Programmer's Manual (2) Updated: 2020-06-09 Index JM Home Page 名前 pipe, pipe2 - パイプを生成する 書式 #include < unistd.h > /* On Alpha, IA-64, MIPS, SuperH, and SPARC/SPARC64; see NOTES */ struct fd_pair { long fd[2]; ... erred to by the new file descriptors. Using this flag saves extra calls to fcntl (2) to achieve the same result. 返り値 On success, zero is returned. On error, -1 is returned, errno is set appropriately, and pipefd is left unchanged. On Linux (and other ... in a functional manner: the call doesn't take any arguments and returns a pair of file descriptors as the return value on success. The glibc pipe () wrapper function transparently deals with this. See syscall (2) for information regarding registers use ... (read(pipefd[0], &buf, 1) > 0) write(STDOUT_FILENO, &buf, 1); write(STDOUT_FILENO, "\n", 1); close(pipefd[0]); _exit(EXIT_SUCCESS); } else { /* 親プロセスは argv[1] をパイプへ書き込む */ close(pipefd[0]); /* 使用しない read 側はクローズする */ write(pi ...
https://man.mtool.work/man/20260915/man2/pipe2.2.html
Man page of XINETD.CONF 7824
XINETD.CONF Section: File Formats (5) Updated: 14 June 2001 Index JM Home Page 名前 xinetd.conf - 拡張されたインターネットサービスデーモンの設定ファイル 説明 xinetd.conf は xinetd によって提供されるサービスを決定する設定ファイルである。 行の ... TRA_MAX (デフォルトは 5K と 20K で、 これらの定数は(コンパイル時に) config.h で定義される) の間になければならない。 log_on_success サーバ起動時と終了時にどの情報をログ出力するかを指定する (サービス id はログエントリに必ず含まれる)。 以下の値の任意の組合 ... する。 このバナーはアクセス制御に関係なく表示される。 接続がなされた場合には *いつでも* これが表示されるはずである。 banner_success サービスへの接続が許可された時に、 リモートホストで表示されるファイルの名前を指定する。 このバナーはサービスへのアクセスが ... ビスのみ) port ( リストにない 非 RPC サービスのみ) 以下の属性はすべての代入演算子をサポートする: only_from no_access log_on_success log_on_failure passenv env ( '-=' 演算子はサポートしない) これらの属性は一つのサービスエントリで複数回あらわれてもよい。 残 ...
https://man.mtool.work/man/20260915/man5/xinetd.conf.5.html
Man page of GETGROUPLIST 6254
GETGROUPLIST Section: Linux Programmer's Manual (3) Updated: 2020-11-01 Index JM Home Page 名前 getgrouplist - ユーザーが所属するグループのリストを取得する 書式 #include < grp.h > int getgrouplist(const char * user , gid_t group , gid_t * g ... wd structure (contains first group ID for user) */ pw = getpwnam(argv[1]); if (pw == NULL) { perror("getpwnam"); exit(EXIT_SUCCESS); } /* Retrieve group list */ if (getgrouplist(argv[1], pw->pw_gid, groups, &ngroups) == -1) { fprintf(stderr, "getgroupli ... printf("%d", groups[j]); gr = getgrgid(groups[j]); if (gr != NULL) printf(" (%s)", gr->gr_name); printf("\n"); } exit(EXIT_SUCCESS); } 関連項目 getgroups (2), setgroups (2), getgrent (3), group_member (3), group (5), passwd (5) この文書について この man ...
https://man.mtool.work/man/20260915/man3/getgrouplist.3.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT

リンク

日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。