… | |
… | |
1308 | So in general, you should only use these calls for things that do |
1308 | So in general, you should only use these calls for things that do |
1309 | (filesystem) I/O, not for things that wait for other events (network, |
1309 | (filesystem) I/O, not for things that wait for other events (network, |
1310 | other processes), although if you are careful and know what you are doing, |
1310 | other processes), although if you are careful and know what you are doing, |
1311 | you still can. |
1311 | you still can. |
1312 | |
1312 | |
1313 | The following constants are available (missing ones are, as usual C<0>): |
1313 | The following constants are available and can be used for normal C<ioctl> |
|
|
1314 | and C<fcntl> as well (missing ones are, as usual C<0>): |
1314 | |
1315 | |
1315 | C<F_DUPFD_CLOEXEC>, |
1316 | C<F_DUPFD_CLOEXEC>, |
1316 | |
1317 | |
1317 | C<F_OFD_GETLK>, C<F_OFD_SETLK>, C<F_OFD_GETLKW>, |
1318 | C<F_OFD_GETLK>, C<F_OFD_SETLK>, C<F_OFD_GETLKW>, |
1318 | |
1319 | |
1319 | C<FIFREEZE>, C<FITHAW>, C<FITRIM>, C<FICLONE>, C<FICLONERANGE>, C<FIDEDUPERANGE>. |
1320 | C<FIFREEZE>, C<FITHAW>, C<FITRIM>, C<FICLONE>, C<FICLONERANGE>, C<FIDEDUPERANGE>. |
|
|
1321 | |
|
|
1322 | C<F_ADD_SEALS>, C<F_GET_SEALS>, C<F_SEAL_SEAL>, C<F_SEAL_SHRINK>, C<F_SEAL_GROW> and |
|
|
1323 | C<F_SEAL_WRITE>. |
1320 | |
1324 | |
1321 | C<FS_IOC_GETFLAGS>, C<FS_IOC_SETFLAGS>, C<FS_IOC_GETVERSION>, C<FS_IOC_SETVERSION>, |
1325 | C<FS_IOC_GETFLAGS>, C<FS_IOC_SETFLAGS>, C<FS_IOC_GETVERSION>, C<FS_IOC_SETVERSION>, |
1322 | C<FS_IOC_FIEMAP>. |
1326 | C<FS_IOC_FIEMAP>. |
1323 | |
1327 | |
1324 | C<FS_IOC_FSGETXATTR>, C<FS_IOC_FSSETXATTR>, C<FS_IOC_SET_ENCRYPTION_POLICY>, |
1328 | C<FS_IOC_FSGETXATTR>, C<FS_IOC_FSSETXATTR>, C<FS_IOC_SET_ENCRYPTION_POLICY>, |