JM Project

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

Linux マニュアル 一覧

全文・高度検索

per page, with , order by , clip by
Results of 1 - 10 of about 11 for fchdir (0.003 sec.)
Man page of CHDIR 12589
CHDIR Section: Linux Programmer's Manual (2) Updated: 2019-08-02 Index JM Home Page 名前 chdir, fchdir - 作業ディレクトリの変更 書式 #include < unistd.h > int chdir(const char * path ); int fchdir(int fd ); glibc 向けの機能検査マクロの要件 ... ( feature_test_macros (7) 参照): fchdir (): _XOPEN_SOURCE >= 500 || /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || /* glibc 2.19 以前: */ _BSD_SOURCE 説明 c ... は、呼び出し元プロセスの現在の作業ディレクトリ (current working directory) を、 path に指定されたディレクトリに変更する。 fchdir () は、ディレクトリがオープンされたファイルディスクリプターとして 指定される以外は、 chdir () と同じである。 返り値 成功し ... 指定されたディレクトリが存在しない。 ENOMEM カーネルに十分なメモリーがない。 ENOTDIR path の構成要素がディレクトリではない。 fchdir () で一般的なエラーを以下に挙げる: EACCES fd をディレクトリとしてオープンするための検索許可がない。 EBADF fd が適切なファイ ...
https://man.mtool.work/man/20260915/man2/chdir.2.html
Man page of CHDIR 12589
CHDIR Section: Linux Programmer's Manual (2) Updated: 2019-08-02 Index JM Home Page 名前 chdir, fchdir - 作業ディレクトリの変更 書式 #include < unistd.h > int chdir(const char * path ); int fchdir(int fd ); glibc 向けの機能検査マクロの要件 ... ( feature_test_macros (7) 参照): fchdir (): _XOPEN_SOURCE >= 500 || /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || /* glibc 2.19 以前: */ _BSD_SOURCE 説明 c ... は、呼び出し元プロセスの現在の作業ディレクトリ (current working directory) を、 path に指定されたディレクトリに変更する。 fchdir () は、ディレクトリがオープンされたファイルディスクリプターとして 指定される以外は、 chdir () と同じである。 返り値 成功し ... 指定されたディレクトリが存在しない。 ENOMEM カーネルに十分なメモリーがない。 ENOTDIR path の構成要素がディレクトリではない。 fchdir () で一般的なエラーを以下に挙げる: EACCES fd をディレクトリとしてオープンするための検索許可がない。 EBADF fd が適切なファイ ...
https://man.mtool.work/man/20260915/man2/fchdir.2.html
Man page of GETCWD 8393
GETCWD Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 getcwd, getwd, get_current_dir_name - カレントワーキングディレクトリ名の取得 書式 #include < unistd.h > char *getcwd(char * buf , size_t size ); char ... 存し、 後で戻ってくるために利用される。 未使用のファイルディスクリプターが十分ある場合は、 現在のディレクトリ (".") を開いて fchdir (2) を呼び出すほうが普通は高速で信頼性がある。 特に Linux 以外のプラットフォームの場合はそうである。 C ライブラリとカーネル ... is corrected; calling getcwd () from such a pathname will now result in failure with ENOENT . 関連項目 pwd (1), chdir (2), fchdir (2), open (2), unlink (2), free (3), malloc (3) この文書について この man ページは Linux man-pages プロジェクトのリリース ...
https://man.mtool.work/man/20260915/man2/getcwd.2.html
Man page of GETCWD 8393
GETCWD Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 getcwd, getwd, get_current_dir_name - カレントワーキングディレクトリ名の取得 書式 #include < unistd.h > char *getcwd(char * buf , size_t size ); char ... 存し、 後で戻ってくるために利用される。 未使用のファイルディスクリプターが十分ある場合は、 現在のディレクトリ (".") を開いて fchdir (2) を呼び出すほうが普通は高速で信頼性がある。 特に Linux 以外のプラットフォームの場合はそうである。 C ライブラリとカーネル ... is corrected; calling getcwd () from such a pathname will now result in failure with ENOENT . 関連項目 pwd (1), chdir (2), fchdir (2), open (2), unlink (2), free (3), malloc (3) この文書について この man ページは Linux man-pages プロジェクトのリリース ...
https://man.mtool.work/man/20260915/man3/get_current_dir_name.3.html
Man page of GETCWD 8393
GETCWD Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 getcwd, getwd, get_current_dir_name - カレントワーキングディレクトリ名の取得 書式 #include < unistd.h > char *getcwd(char * buf , size_t size ); char ... 存し、 後で戻ってくるために利用される。 未使用のファイルディスクリプターが十分ある場合は、 現在のディレクトリ (".") を開いて fchdir (2) を呼び出すほうが普通は高速で信頼性がある。 特に Linux 以外のプラットフォームの場合はそうである。 C ライブラリとカーネル ... is corrected; calling getcwd () from such a pathname will now result in failure with ENOENT . 関連項目 pwd (1), chdir (2), fchdir (2), open (2), unlink (2), free (3), malloc (3) この文書について この man ページは Linux man-pages プロジェクトのリリース ...
https://man.mtool.work/man/20260915/man3/getcwd.3.html
Man page of GETCWD 8393
GETCWD Section: Linux Programmer's Manual (3) Updated: 2018-04-30 Index JM Home Page 名前 getcwd, getwd, get_current_dir_name - カレントワーキングディレクトリ名の取得 書式 #include < unistd.h > char *getcwd(char * buf , size_t size ); char ... 存し、 後で戻ってくるために利用される。 未使用のファイルディスクリプターが十分ある場合は、 現在のディレクトリ (".") を開いて fchdir (2) を呼び出すほうが普通は高速で信頼性がある。 特に Linux 以外のプラットフォームの場合はそうである。 C ライブラリとカーネル ... is corrected; calling getcwd () from such a pathname will now result in failure with ENOENT . 関連項目 pwd (1), chdir (2), fchdir (2), open (2), unlink (2), free (3), malloc (3) この文書について この man ページは Linux man-pages プロジェクトのリリース ...
https://man.mtool.work/man/20260915/man3/getwd.3.html
Man page of DIRFD 8126
DIRFD Section: Linux Programmer's Manual (3) Updated: 2020-04-11 Index JM Home Page 名前 dirfd - ディレクトリストリームのファイルディスクリプターを取得する 書式 #include < sys/types.h > #include < dirent.h > int dirfd(DIR * dirp ); glibc 向 ... 用するものである。結果的に、この関数が役に立つのは、ファイルの位置に依存しない関数やその位置を変更しない関数 ( fstat (2) や fchdir (2) など) においてだけである。このファイルディスクリプターは closedir (3) が呼ばれたときに自動的にクローズされる。 返り値 ...
https://man.mtool.work/man/20260915/man3/dirfd.3.html
Man page of OPEN 7841
OPEN Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 open, openat, creat - ファイルのオープン、作成を行う 書式 #include < sys/types.h > #include < sys/stat.h > #include < fcntl.h > int open(const char * pa ... (2)) はエラー EBADF で失敗する。 取得したファイルディスクリプターに対して以下の操作を行うことが「できる」。 * close (2). * fchdir (2), if the file descriptor refers to a directory (since Linux 3.5). * fstat (2) (Linux 3.6 以降). * fstatfs (2) (Linux 3. ... in the path prefix). Depending on the subsequent operation, a check for suitable file permissions may be performed (e.g., fchdir (2) requires execute permission on the directory referred to by its file descriptor argument). By contrast, obtaining a re ... h the O_RDONLY flag requires that the caller have read permission on the object, even when the subsequent operation (e.g., fchdir (2), fstat (2)) does not require read permission on the object. pathname がシンボリックリンクで O_NOFOLLOW フラグも合わせて ...
https://man.mtool.work/man/20260915/man2/creat.2.html
Man page of OPEN 7841
OPEN Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 open, openat, creat - ファイルのオープン、作成を行う 書式 #include < sys/types.h > #include < sys/stat.h > #include < fcntl.h > int open(const char * pa ... (2)) はエラー EBADF で失敗する。 取得したファイルディスクリプターに対して以下の操作を行うことが「できる」。 * close (2). * fchdir (2), if the file descriptor refers to a directory (since Linux 3.5). * fstat (2) (Linux 3.6 以降). * fstatfs (2) (Linux 3. ... in the path prefix). Depending on the subsequent operation, a check for suitable file permissions may be performed (e.g., fchdir (2) requires execute permission on the directory referred to by its file descriptor argument). By contrast, obtaining a re ... h the O_RDONLY flag requires that the caller have read permission on the object, even when the subsequent operation (e.g., fchdir (2), fstat (2)) does not require read permission on the object. pathname がシンボリックリンクで O_NOFOLLOW フラグも合わせて ...
https://man.mtool.work/man/20260915/man2/open.2.html
Man page of OPEN 7841
OPEN Section: Linux Programmer's Manual (2) Updated: 2020-11-01 Index JM Home Page 名前 open, openat, creat - ファイルのオープン、作成を行う 書式 #include < sys/types.h > #include < sys/stat.h > #include < fcntl.h > int open(const char * pa ... (2)) はエラー EBADF で失敗する。 取得したファイルディスクリプターに対して以下の操作を行うことが「できる」。 * close (2). * fchdir (2), if the file descriptor refers to a directory (since Linux 3.5). * fstat (2) (Linux 3.6 以降). * fstatfs (2) (Linux 3. ... in the path prefix). Depending on the subsequent operation, a check for suitable file permissions may be performed (e.g., fchdir (2) requires execute permission on the directory referred to by its file descriptor argument). By contrast, obtaining a re ... h the O_RDONLY flag requires that the caller have read permission on the object, even when the subsequent operation (e.g., fchdir (2), fstat (2)) does not require read permission on the object. pathname がシンボリックリンクで O_NOFOLLOW フラグも合わせて ...
https://man.mtool.work/man/20260915/man2/openat.2.html
PREV 1 2 NEXT

リンク

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