JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... x 第 2 拡張ファイルシステム上にある現在のディレクトリに lost+found ディレクトリを作成するために用いられる。 通常それぞれのファイルシステムのルートディレクトリには lost+found ディレクトリがお ... かれる。 mklost+found はディスクブロックをディレクトリに前もって割り当てる。 これによって、 e2sfsck (8) がファイルシステム回復のために起動された ... したがって e2fsck がファイルシステムの回復の最中にデータブロックを割り当てなくても良くなる。 オプション ない。 著者 mklost+found は Remy Card < Remy.Card@linux.org > によって作成された。 現在は Theodore Ts'o < tytso@alum.mit.edu > によってメンテナンス ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... o the root of the tree. If the tree is empty, then the variable that rootp points to should be set to NULL. If the item is found in the tree, then tsearch () returns a pointer to the corresponding tree node. (In other words, tsearch () returns a point ... er to a pointer to the data item.) If the item is not found, then tsearch () adds it, and returns a pointer to the corresponding tree node. tfind () は、 tsearch () に似ているが、 ア ... , or NULL if there was insufficient memory to add the item. tfind () returns a pointer to the node, or NULL if no match is found. If there are multiple items that match the key, the item whose node is returned is unspecified. tdelete () returns a poin ... ... s1 and s2 , ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2 . The strncasecmp () function is similar, except that it c ... () and strncasecmp () functions return an integer less than, equal to, or greater than zero if s1 is, after ignoring case, found to be less than, to match, or be greater than s2 , respectively. 属性 この節で使用されている用語の説明については、 attribu ... ... s1 and s2 , ignoring the case of the characters. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2 . The strncasecmp () function is similar, except that it c ... () and strncasecmp () functions return an integer less than, equal to, or greater than zero if s1 is, after ignoring case, found to be less than, to match, or be greater than s2 , respectively. 属性 この節で使用されている用語の説明については、 attribu ... ... */ static int open_mount_path_by_id(int mount_id) { char *linep; size_t lsize; char mount_path[PATH_MAX]; int mi_mount_id, found; ssize_t nread; FILE *fp; fp = fopen("/proc/self/mountinfo", "r"); if (fp == NULL) errExit("fopen"); found = 0; linep = NU ... LL; while (!found) { nread = getline(&linep, &lsize, fp); if (nread == -1) break; nread = sscanf(linep, "%d %*d %*s %*s %s", &mi_mount_id, m ... ount_path); if (nread != 2) { fprintf(stderr, "Bad sscanf()\n"); exit(EXIT_FAILURE); } if (mi_mount_id == mount_id) found = 1; } free(linep); fclose(fp); if (!found) { fprintf(stderr, "Could not find mount point\n"); exit(EXIT_FAILURE); } retur ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。