* F_parameter (with error bit) if a parameter is invalid.
* F_support_not (with error bit) if the system does not support ambient capabilities.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_set_ambient()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_reset_ambient()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if the file system does not permit this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_set_ambient()
*/
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_clear()
*/
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_clear_flag()
*/
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_compare()
*/
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_dup()
*/
* F_memory_not (with error bit) if a out of memory (which doesn't make sense here but man page includes this).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_free()
*/
* F_prohibited (with error bit) if the file system does not permit this operation.
* F_support_not (with error bit) if the file system does not support this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_get_fd()
*/
* F_prohibited (with error bit) if the file system does not permit this operation.
* F_support_not (with error bit) if the file system does not support this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_set_fd()
*/
* F_prohibited (with error bit) if the file system does not permit this operation.
* F_support_not (with error bit) if the file system does not support this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_get_file()
*/
* F_prohibited (with error bit) if the file system does not permit this operation.
* F_support_not (with error bit) if the file system does not support this operation.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_set_file()
*/
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_get_flag()
*/
* F_implement_not (with error bit) if this function is not available (due to not having libcap support compiled in).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_set_flag()
*/
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_from_name()
*/
* F_memory_not (with error bit) if a out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see cap_from_text()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if appended string length is too large to store in the buffer.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_memory_array_resize().
*
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if appended string length is too large to store in the buffer.
*
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_memory_array_resize().
*
* - set: Set the capability.
*/
#ifndef _di_f_capability_t_
-
enum {
f_capability_value_type_effective_e = 0,
f_capability_value_type_permitted_e,
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkdir()
*/
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkdirat()
*/
* F_file_open_max (with error bit) too many open files.
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_file_stat_at().
*
* F_array_too_large (with error bit) if the directory buffer max length would be exceeded.
* F_memory_not (with error bit) on out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see alphasort()
* @see scandir()
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see open()
*/
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see openat()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see nftw()
* @see remove()
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see nftw()
* @see remove()
* F_okay on success.
*
* F_directory_descriptor_not (with error bit) for bad directory descriptor.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see closedir()
*/
* F_file_open_max (with error bit) too many open files.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fdopendir()
*/
* F_file_open_max (with error bit) too many open files.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fdopendir()
*/
*
* F_directory_descriptor_not (with error bit) for bad directory descriptor.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see readdir()
*/
* @return
* F_okay on success.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see rewinddir()
*/
* @return
* F_okay on success.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see seekdir()
*/
*
* F_directory_descriptor_not (with error bit) for bad directory descriptor.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see telldir()
*/
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
* F_search (with error bit) if search permission is denied for one of the paths to the file.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see utimensat()
*/
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
* F_search (with error bit) if search permission is denied for one of the paths to the file.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see utimensat()
*/
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see f_directory_create()
* @see f_directory_touch()
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see f_directory_create_at()
* @see f_directory_touch_at()
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not if copying a given type of file is unsupported.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*/
#ifndef _di_f_file_clone_
extern f_status_t f_file_clone(const f_string_static_t source, const f_string_static_t destination, const f_number_unsigned_t size_block, const uint8_t flag);
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not if copying a given type of file is unsupported.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*/
#ifndef _di_f_file_copy_
extern f_status_t f_file_copy(const f_string_static_t source, const f_string_static_t destination, const f_mode_t mode, const f_number_unsigned_t size_block, const uint8_t flag);
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see open()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see openat()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see makedev()
* @see mknod()
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see makedev()
* @see mknodat()
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkfifo()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkfifoat()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mknod()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
* F_support_not (with error bit) for unsupported file types.
*
* @see mknodat()
* F_parameter (with error bit) if a parameter is invalid.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) if the file system or file type does not support flushing.
- * F_failure (with error bit) on any other failure.
+ * F_failure (with error bit) on any other error.
*
* @see fsync()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see symlink()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see symlinkat()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see link()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see linkat()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if link target path is too large for string buffer size.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_memory_array_increase_by()
* Errors (with error bit) from: f_string_dynamic_terminate_after()
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if link target path is too large for string buffer size.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_memory_array_increase_by()
* Errors (with error bit) from: f_string_dynamic_terminate_after()
* F_lock (with error bit) if failed to lock, such as lock table is full or too many open segments.
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if operation is prohibited (maps to EPERM).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fcntl()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see chmod()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fchmodat()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_support_not (with error bit) fo unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see open()
*/
* F_interrupt (with error bit) if interrupt is received.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see poll()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see unlink()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see unlinkat()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see rename()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see renameat()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see chown()
* @see lchown()
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fchownat()
*/
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
* F_search (with error bit) if search permission is denied for one of the paths to the file.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see utimensat()
*/
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
* F_search (with error bit) if search permission is denied for one of the paths to the file.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see utimensat()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_support_not (with error bit) fo unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fopen()
*/
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_support_not (with error bit) fo unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fileno()
* @see freopen()
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not if copying a given type of file is unsupported.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see open()
*
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see open()
*
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see openat()
*
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkdir()
*
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mkfifo()
*
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) for unsupported file types.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see mknod()
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for making changes.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
* F_support_not (with error bit) for unsupported file types.
*
* @see mknodat()
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see symlink()
*
* F_parameter (with error bit) if a parameter is invalid.
* F_prohibited (with error bit) if file system does not allow for creating or linking.
* F_read_only (with error bit) if file system is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see symlinkat()
*
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if link target path is too large for string buffer size.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see readlink()
*
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_string_too_large (with error bit) if link target path is too large for string buffer size.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see readlinkat()
*
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see chmod()
*
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see chown()
* @see lchown()
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fchownat()
*
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_file_found_not if the path was not found.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see chdir()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_file_found_not if the path was not found.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see fchdir()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_file_found_not if the path was not found.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see getcwd()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_file_found_not if the path was not found.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see realpath()
*/
* F_loop (with error bit) on loop error.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see f_path_current()
* @see f_path_real()
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_getaffinity()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_setaffinity()
*/
* F_search (with error bit) if ID could not be found.
* F_too_large (with error bit) if the size and attribute are too small.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_getattr()
* @see SYS_sched_getattr()
* F_support_not (with error bit) if the system does not support this operation for the current scheduler policy.
* F_too_large (with error bit) if the size and attribute are too small.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_setattr()
* @see SYS_sched_setattr()
* F_too_small (with error bit) if the niceness value is too small (less than -20).
* F_prohibited (with error bit) if unable to set the requested nice value (such as when limited by RLIMIT_NICE).
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see nice()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_getscheduler()
*/
* F_search (with error bit) if ID could not be found.
* F_support_not (with error bit) if the system call is not supported.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_rr_get_interval()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_setscheduler()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see getpriority()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_get_priority_max()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_get_priority_min()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see setpriority()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_getparam()
*/
* F_prohibited (with error bit) if a ID is valid but the effective ID or real ID does not match the callers and CAP_SYS_NICE is not set.
* F_search (with error bit) if ID could not be found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_setparam()
*/
* @return
* F_okay on success.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sched_yield()
*/
* F_buffer (with error bit) if the buffer is invalid (action or previous point to invalid memory).
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigaction()
*/
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see close()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigprocmask()
*/
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see signalfd()
*/
* F_resource_not (with error bit) if the max signals is reached.
* F_support_not (with error bit) if this action is not supported by the current OS.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigqueue()
*/
* F_input_output (with error bit) on I/O error.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see poll()
* @see read()
* F_prohibited (with error bit) if not allowed to send signals to the given process.
* F_found_not (with error bit) if the given process was not found.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see kill()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigaddset()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigdelset()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigemptyset()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigfillset()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigismember()
*/
* F_buffer (with error bit) if the mask is pointing to invalid memory.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigsuspend()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigwaitinfo()
*/
*
* F_parameter (with error bit) if a parameter is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sigtimedwait()
*/
* F_socket_support_not (with error bit) if this socket type is not supported.
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see accept()
*/
* F_socket_not (with error bit) if the ID is not a socket descriptor.
* F_string_too_large (with error bit) if string is too large to store in the buffer.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see bind()
*/
* F_socket_not (with error bit) if the ID is not a socket descriptor.
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see connect()
*/
* F_protocol_not (with error bit) if the given protocol is unknown or is unsupported.
* F_socket_support_not (with error bit) if the given socket type is unknown or is unsupported.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see socket()
*/
* F_parameter (with error bit) if a parameter is invalid.
* F_protocol_not (with error bit) if the given protocol is unknown or is unsupported.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see socketpair()
*/
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
* F_support_not (with error bit) if this socket does not support the listen() operation.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see close()
* @see shutdown()
* F_socket_not (with error bit) if the ID is not a socket descriptor.
* F_support_not (with error bit) if this socket does not support the listen() operation.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see listen()
*/
* F_socket_not (with error bit) if the ID is not a socket descriptor.
* F_value (with error bit) if either the value or the length is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see getsockopt()
*/
* F_socket_not (with error bit) if the ID is not a socket descriptor.
* F_value (with error bit) if either the value or the length is invalid.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see setsockopt()
*/
* F_prohibited (with error bit) if the system does not permit this operation (could be missing CAP_SYS_ADMIN in the appropraite user namespace).
* F_string_too_large (with error bit) if the name is to large for the max size (name.size).
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_memory_array_resize()
*
* F_parameter (with error bit) if a parameter is invalid.
* F_socket_not (with error bit) if the ID is not a socket descriptor.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see getpeername()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received.
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see recvfrom()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received.
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see recvmsg()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received.
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see recv()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received (Linux might return this isntead if F_connect_not).
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sendto()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received (Linux might return this isntead if F_connect_not).
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see sendmsg()
*/
* F_socket_pipe_close (with error bit) if the local end of a connection oriented socket is closed or SIGPIPE is received (Linux might return this isntead if F_connect_not).
* F_socket_time_out (with error bit) if a socket timeout occurred.
*
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see send()
*/
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
+#include <fcntl.h> // Must be defined after the sys/* includes.
#include <time.h>
#include <unistd.h>
#include <fll/level_0/type/status.h> // Must be after number.h.
#include <fll/level_0/type/cell.h>
#include <fll/level_0/type/fll.h>
+#include <fll/level_0/type/handle.h>
#include <fll/level_0/type/mode.h>
#include <fll/level_0/type/pid.h>
#include <fll/level_0/type/quantity.h>
* F_prohibited (with error bit) if file system does not allow for removing.
* F_read_only (with error bit) if file is read-only.
* F_space_not (with error bit) if file system is out of space (or file system quota is reached).
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* @see f_directory_create()
*/
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_file_mode_set().
* Errors (with error bit) from: f_directory_exists().
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*
* Errors (with error bit) from: f_directory_is().
* Errors (with error bit) from: f_file_role_change().
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
* F_recurse (with error bit) if recursion failed, due to max depth reached.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*/
#if !defined(_di_fll_file_mode_set_all_)
extern f_status_t private_fll_file_mode_set_all(const f_string_static_t path, const uint8_t dereference, const mode_t mode, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) F_attribute_visibility_internal_d;
* F_name (with error bit) on path name error.
* F_parameter (with error bit) if a parameter is invalid.
* F_read_only (with error bit) if file is read-only.
- * F_failure (with error bit) for any other error.
+ * F_failure (with error bit) on any other error.
*/
#if !defined(_di_fll_file_role_change_all_)
extern f_status_t private_fll_file_role_change_all(const f_string_static_t path, const f_uid_t uid, const f_gid_t gid, const uint8_t dereference, const f_number_unsigned_t depth_max, const f_number_unsigned_t depth) F_attribute_visibility_internal_d;