JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... onsole = "/dev/tty2"; struct {unsigned char lines, cols, x, y;} scrn; unsigned short s; unsigned short mask; unsigned char attrib; int ch; fd = open(console, O_RDWR); if (fd < 0) { perror(console); exit(EXIT_FAILURE); } if (ioctl(fd, VT_GETHIFONTMASK, ... lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET); (void) read(fd, &s, 2); ch = s & 0xff; if (s & mask) ch |= 0x100; attrib = ((s & ~mask) >> 8); printf("ch=%#03x attrib=%#02x\n", ch, attrib); s ha= 0x1000; (void) lseek(fd, -2, SEEK_CUR); (void) ... ... onsole = "/dev/tty2"; struct {unsigned char lines, cols, x, y;} scrn; unsigned short s; unsigned short mask; unsigned char attrib; int ch; fd = open(console, O_RDWR); if (fd < 0) { perror(console); exit(EXIT_FAILURE); } if (ioctl(fd, VT_GETHIFONTMASK, ... lseek(fd, 4 + 2*(scrn.y*scrn.cols + scrn.x), SEEK_SET); (void) read(fd, &s, 2); ch = s & 0xff; if (s & mask) ch |= 0x100; attrib = ((s & ~mask) >> 8); printf("ch=%#03x attrib=%#02x\n", ch, attrib); s ha= 0x1000; (void) lseek(fd, -2, SEEK_CUR); (void) ... ... リングポリシーや パラメーターに設定しようとした") も追加で規定されている。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 pthread_setschedparam (), pthread_getschedparam () Thread safety MT-Safe 準拠 PO ... olicy=SCHED_FIFO, priority=10 Scheduler settings in 'attr' policy=SCHED_RR, priority=20 inheritsched is EXPLICIT Scheduler attributes of new thread policy=SCHED_RR, priority=20 上記の出力では、スケジューリングポリシーと優先度がスレッド属性 オブジェクト ... policy=SCHED_FIFO, priority=10 Scheduler settings in 'attr' policy=SCHED_RR, priority=20 inheritsched is INHERIT Scheduler attributes of new thread policy=SCHED_FIFO, priority=10 上記の出力では、スケジューリングポリシーと優先度が、 スレッド属性オブジェ ... ... リングポリシーや パラメーターに設定しようとした") も追加で規定されている。 属性 この節で使用されている用語の説明については、 attributes (7) を参照。 インターフェース 属性 値 pthread_setschedparam (), pthread_getschedparam () Thread safety MT-Safe 準拠 PO ... olicy=SCHED_FIFO, priority=10 Scheduler settings in 'attr' policy=SCHED_RR, priority=20 inheritsched is EXPLICIT Scheduler attributes of new thread policy=SCHED_RR, priority=20 上記の出力では、スケジューリングポリシーと優先度がスレッド属性 オブジェクト ... policy=SCHED_FIFO, priority=10 Scheduler settings in 'attr' policy=SCHED_RR, priority=20 inheritsched is INHERIT Scheduler attributes of new thread policy=SCHED_FIFO, priority=10 上記の出力では、スケジューリングポリシーと優先度が、 スレッド属性オブジェ ... ... read (2) で返される mask フィールドで返される: IN_ACCESS (+) ( read (2), execve (2) などで) ファイルがアクセスされた。 IN_ATTRIB (*) メタデータが変更された。 メタデータとは、例えば、アクセス許可 ( chmod (2))、タイムスタンプ ( utimensat (2) など)、拡張 ... nt); dir と dir/myfile の両方に対して IN_MODIFY イベントが生成される fchmod(fd, mode); dir と dir/myfile の両方に対して IN_ATTRIB イベントが生成される close(fd); dir と dir/myfile の両方に対して IN_CLOSE_WRITE イベントが生成される アプリケーションがディ ... ir1/myfile を監視しているとする。 以下に生成されるイベントの例を示す。 link("dir1/myfile", "dir2/new"); myfile に対して IN_ATTRIB イベントが生成され、 dir2 に対して IN_CREATE イベントが生成される。 rename("dir1/myfile", "dir2/myfile"); dir1 に対してイベ ... ... ll be monitored. The events which require that filesystem objects are identified by file handles, such as FAN_CREATE , FAN_ATTRIB , FAN_MOVE , and FAN_DELETE_SELF , cannot be provided as a mask when flags contains FAN_MARK_MOUNT . Attempting to do so w ... inux 5.0 以降) Create an event when a file is opened with the intent to be executed. See NOTES for additional details. FAN_ATTRIB (Linux 5.1 以降) Create an event when the metadata for a file or directory has changed. An fanotify group that identifies ... ... re interested in the directory entry modification events FAN_CREATE , FAN_DELETE , and FAN_MOVE , or in events such as FAN_ATTRIB , FAN_DELETE_SELF , and FAN_MOVE_SELF . All the events above require an fanotify group that identifies filesystem objects ... ... FAN_OPEN_EXEC A file was opened with the intent to be executed. See NOTES in fanotify_mark (2) for additional details. FAN_ATTRIB ファイルかディレクトリのメタデータが変更された。 FAN_CREATE A child file or directory was created in a watched parent. FAN ... terminated string that identifies the created/deleted/moved directory entry name. For other events such as FAN_OPEN , FAN_ATTRIB , FAN_DELETE_SELF , and FAN_MOVE_SELF , if the value of info_type field is FAN_EVENT_INFO_TYPE_FID , the file_handle ident ... ... いものがある ("process" など)。 これらのコマンドは、"at" でウィンドウを巡回させる場合には 機能しないかもしれない。 attrcolor attrib [ attribute/color-modifier ] このコマンドを用いると、テキストの色を変えて属性をハイライトできる。 属性 attrib がすでに利用 ... ... ink (2), 別のディレクトリへの rename (2), rmdir (2)) DN_RENAME ディレクトリ内でのファイル名の変更があった ( rename (2)) DN_ATTRIB ファイル属性が変更された ( chown (2), chmod (2), utime (2), utimensat (2) や同様のシステムコール) (上記の定義を利用するには ... WH_WRITE_LIFE_LONG . All the write-specific hints are relative to each other, and no individual absolute meaning should be attributed to them. 返り値 成功した場合の返り値は操作の種類により違う: F_DUPFD 新規のファイルディスクリプター。 F_GETFD ファイルデ ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。