JM プロジェクトは、主に Linux 関連のマニュアルページの日本語ページを翻訳・公開しています。
... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... int fchown(int fd , uid_t owner , gid_t group ); int lchown(const char * pathname , uid_t owner , gid_t group ); #include < fcntl.h > ... /* AT_* 定数の定義 */ #include < unistd.h > int fchownat(int dirfd , const char * pathname , uid_t owner , gid_t group , int flags ); glibc 向けの機能検査マクロの要件 ( feature_ ... test_macros (7) 参照): fchown (), lchown (): /* glibc 2.12 以降: */ _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 500 || /* glibc 2.19 以前: */ _BSD_SO ... ... ルが返す情報には、オブジェクトのサイズ ( st_size )、 許可属性 ( st_mode )、 所有者 ( st_uid )、 グループ ( st_gid ) がある。 fchown (2) 共有メモリーオブジェクトの所有権を変更する。 fchmod (2) 共有メモリーオブジェクトの許可属性を変更する。 Versions POSIX ... メモリーは System V 共有メモリーと比べると 利用できるシステムが少ない (特に、古いシステムでは少ない)。 関連項目 fchmod (2), fchown (2), fstat (2), ftruncate (2), mmap (2), mprotect (2), munmap (2), shmget (2), shmop (2), shm_open (3), shm_unlink (3), se ... ... hat directory. The corresponding macro is _POSIX_PIPE_BUF . _PC_CHOWN_RESTRICTED This returns a positive value if the use of chown (2) and fchown (2) for changing a file's user ID is restricted to a process with appropriate privileges, and changing a f ... ... hat directory. The corresponding macro is _POSIX_PIPE_BUF . _PC_CHOWN_RESTRICTED This returns a positive value if the use of chown (2) and fchown (2) for changing a file's user ID is restricted to a process with appropriate privileges, and changing a f ... 日本語の文書やマニュアルを配布している個人/プロジェクトへのリンクです。