JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 4 of about 4 for ftok (0.001 sec.)
Man page of FTOK 11650
FTOK Section: Linux Programmer's Manual (3) Updated: 2020-04-11 Index JM Home Page 名前 ftok - パス名とプロジェクト識別子を System V IPC キーに変換する 書式 #include < sys/types.h > #include < sys/ipc.h > key_t ftok(const char * pathname , ... int proj_id ); 説明 ftok () 関数は pathname で与えられたファイル (存在し、アクセス可能でなければならない) のファイル名の識別情報 (identity) と、 pr ... 2) のものと同じである。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 ftok () Thread safety MT-Safe 準拠 POSIX.1-2001, POSIX.1-2008. 注意 いくつかの古いシステムでは、プロトタイプは以下のようになって ... いた。 key_t ftok(char * pathname , char proj_id ); 現在では proj_id は int だが、依然として 8 ビットしか用いられない。 通常は ASCII キャラク ...
https://man.mtool.work/man/20260915/man3/ftok.3.html
Man page of SEMGET 10411
SEMGET Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 semget - System V セマフォ集合の識別子を取得する 書式 #include < sys/types.h > #include < sys/ipc.h > #include < sys/sem.h > int semget(key_t key , in ... es semget () to create a new semaphore set or retrieve the ID of an existing set. It generates the key for semget () using ftok (3). The first two command-line arguments are used as the pathname and proj_id arguments for ftok (3). The third command-l ... et (). The usage of this program is demonstrated below. We first create two files that will be used to generate keys using ftok (3), create two semaphore sets using those files, and then list the sets using ipcs (1): $ touch mykey mykey2 $ ./t_semget ... 041368 10 mtk 600 2 Next, we demonstrate that when semctl (2) is given the same key (as generated by the same arguments to ftok (3)), it returns the ID of the already existing semaphore set: $ ./t_semget -c mykey p 1 ID = 9 Finally, we demonstrate th ...
https://man.mtool.work/man/20260915/man2/semget.2.html
Man page of MSGGET 7489
MSGGET Section: Linux Programmer's Manual (2) Updated: 2019-08-02 Index JM Home Page 名前 msgget - System V メッセージキュー識別子を取得する 書式 #include < sys/types.h > #include < sys/ipc.h > #include < sys/msg.h > int msgget(key_t key , ... のはおそらく失敗であろう。 IPC_NEW の方がより明確にその機能を表しているだろう。 関連項目 msgctl (2), msgrcv (2), msgsnd (2), ftok (3), capabilities (7), mq_overview (7), sysvipc (7) この文書について この man ページは Linux man-pages プロジェクトのリリー ...
https://man.mtool.work/man/20260915/man2/msgget.2.html
Man page of SHMGET 7397
SHMGET Section: Linux Programmer's Manual (2) Updated: 2020-04-11 Index JM Home Page 名前 shmget - System V 共有メモリーセグメントを割り当てる 書式 #include < sys/ipc.h > #include < sys/shm.h > int shmget(key_t key , size_t size , int shmfl ... がより明確にその機能を表しているだろう。 例 shmop (2) を参照。 関連項目 memfd_create (2), shmat (2), shmctl (2), shmdt (2), ftok (3), capabilities (7), shm_overview (7), sysvipc (7) この文書について この man ページは Linux man-pages プロジェクトのリリ ...
https://man.mtool.work/man/20260915/man2/shmget.2.html
PREV 1 NEXT

リンク

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