JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 3 of about 3 for osname (0.001 sec.)
Man page of SYSCTL 10603
SYSCTL Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sysctl - システムパラメーターを読み書きする 書式 #include < unistd.h > #include < linux/sysctl.h > int _sysctl(struct __sysctl_args * args ); 説明 Thi ... > #include < stdio.h > #include < stdlib.h > #include < linux/sysctl.h > int _sysctl(struct __sysctl_args *args ); #define OSNAMESZ 100 int main(void) { struct __sysctl_args args; char osname[OSNAMESZ]; size_t osnamelth; int name[] = { CTL_KERN, KERN_O ... STYPE }; memset(&args, 0, sizeof(args)); args.name = name; args.nlen = sizeof(name)/sizeof(name[0]); args.oldval = osname; args.oldlenp = &osnamelth; osnamelth = sizeof(osname); if (syscall(SYS__sysctl, &args) == -1) { perror("_sysctl"); exit(E ... XIT_FAILURE); } printf("This machine is running %*s\n", osnamelth, osname); exit(EXIT_SUCCESS); } 関連項目 proc (5) この文書について この man ページは Linux man-pages プロジェクトのリリ ...
https://man.mtool.work/man/20260915/man2/_sysctl.2.html
Man page of SYSCTL 10603
SYSCTL Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 sysctl - システムパラメーターを読み書きする 書式 #include < unistd.h > #include < linux/sysctl.h > int _sysctl(struct __sysctl_args * args ); 説明 Thi ... > #include < stdio.h > #include < stdlib.h > #include < linux/sysctl.h > int _sysctl(struct __sysctl_args *args ); #define OSNAMESZ 100 int main(void) { struct __sysctl_args args; char osname[OSNAMESZ]; size_t osnamelth; int name[] = { CTL_KERN, KERN_O ... STYPE }; memset(&args, 0, sizeof(args)); args.name = name; args.nlen = sizeof(name)/sizeof(name[0]); args.oldval = osname; args.oldlenp = &osnamelth; osnamelth = sizeof(osname); if (syscall(SYS__sysctl, &args) == -1) { perror("_sysctl"); exit(E ... XIT_FAILURE); } printf("This machine is running %*s\n", osnamelth, osname); exit(EXIT_SUCCESS); } 関連項目 proc (5) この文書について この man ページは Linux man-pages プロジェクトのリリ ...
https://man.mtool.work/man/20260915/man2/sysctl.2.html
Man page of AUTOFS 6659
AUTOFS Section: File Formats (5) Updated: 14 Jan 2000 Index JM Home Page 名前 autofs - オートマウントシステムマップの書式 説明 オートマウントシステムマップは、オートマウントシステムのマスタマップ ( auto.master (5) を参照) によって参照される ... 変数を使った場合、次のような値に置き換えられる: ARCH アーキテクチャ (uname -m) CPU プロセッサタイプ HOST ホスト名 (uname -n) OSNAME オペレーティングシステム (uname -s) OSREL OS のリリース (uname -r) OSVERS OS のバージョン (uname -v) automount (8) の -Dva ...
https://man.mtool.work/man/20260915/man5/autofs.5.html
PREV 1 NEXT

リンク

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