The "_not" suffixes were added later in in the project after some of these status codes were established.
This begins the process of using the "_not" suffixes for representing invalid states, variables, etc...
The `F_file_descriptor` should instead be `F_file_descriptor_not` for invalid file descriptor errors.
if (linkat(file_target.id, target.string, file_point.id, point.string, flag) < 0) {
if (errno == EACCES) return F_status_set_error(F_access_denied);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EDQUOT) return F_status_set_error(F_file_system_quota_block);
if (errno == EEXIST) return F_status_set_error(F_file_found);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (fcntl(file.id, command, argument) == -1) {
if (errno == EACCES) return F_status_set_error(F_access_denied);
if (errno == EAGAIN) return F_status_set_error(F_again);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EBUSY) return F_status_set_error(F_busy);
if (errno == EDEADLK) return F_status_set_error(F_deadlock);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
*seeked = lseek(file.id, offset, whence);
if (*seeked < 0) {
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (errno == ENXIO) return F_status_set_error(F_bound_not);
if (errno == EOVERFLOW) return F_status_set_error(F_number_overflow);
if (!read && !write && !except && !timeout) return F_data_not;
if (select(highest_plus_one, read, write, except, timeout) == -1) {
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (errno == ENOMEM) return F_status_set_error(F_memory_not);
if (!read && !write && !except && !timeout) return F_data_not;
if (pselect(highest_plus_one, read, write, except, timeout, signal) == -1) {
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (errno == ENOMEM) return F_status_set_error(F_memory_not);
* F_file_descriptor_not if file.id is -1.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_synchronize (with error bit) on flush failure.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_input_output (with error bit) on I/O error.
* F_file_descriptor_not if id is -1.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_synchronize (with error bit) on flush failure.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_input_output (with error bit) on I/O error.
* F_okay is returned on success.
* F_file_descriptor_not if file.id is -1.
*
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_input_output (with error bit) on I/O error.
* F_parameter (with error bit) if a parameter is invalid.
* F_busy (with error bit) if file system is too busy to perform write.
* F_directory_descriptor (with error bit) when either at_id_target or at_id_point is not a valid file descriptor (at_id must point to a directory).
* F_directory_not (with error bit) if a supposed directory in path is not actually a directory.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_found (with error bit) if a file aleady exists at the path.
* F_file_found_not (with error bit) if a parent path in point does not exist or is a broken symlink.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_busy (with error bit) if system is too busy to perform operation.
* F_deadlock (with error bit) if operation would cause a deadlock.
* F_directory_not (with error bit) on invalid directory.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* F_lock (with error bit) if failed to lock, such as lock table is full or too many open segments.
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_block (with error bit) if file descriptor is set to non-block and the read would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_file_descriptor_not if file.id is -1.
*
* F_bound_not (with error bit) if SEEK_DATA or SEEK_HOLE is specified as whence and offset is beyond the end of file.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_pipe (with error bit) if file descriptor represents a pipe, socket, or FIFO.
* F_number_overflow (with error bit) on overflow for offset.
* F_parameter (with error bit) if a parameter is invalid.
* F_okay on success.
* F_data_not if all of read, write, except, and timeout are NULL (having at least one is required) or when highest_plus_one is 0.
*
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_okay on success.
* F_data_not if all of read, write, except, and timeout are NULL (having at least one is required) or when highest_plus_one is 0.
*
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* F_memory_not (with error bit) if out of memory.
* F_parameter (with error bit) if a parameter is invalid.
* F_access_denied (with error bit) if access to the file was denied.
* F_directory_not (with error bit) on invalid directory.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_found_not (with error bit) if the file was not found.
* F_loop (with error bit) on loop error.
* F_memory_not (with error bit) if out of memory.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
*
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
if (errno == EACCES) return F_status_set_error(F_access_denied);
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFBIG) return F_status_set_error(F_file_overflow);
if (errno == EDEADLK) return F_status_set_error(F_deadlock);
if (errno == EDESTADDRREQ) return F_status_set_error(F_socket_not);
// Only 0 is considered a success and so any non-zero value could be an error.
if (fflush(file.stream) != 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (!file->stream) {
if (errno == EACCES) return F_status_set_error(F_access_denied);
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFBIG) return F_status_set_error(F_file_overflow);
if (errno == EDEADLK) return F_status_set_error(F_deadlock);
if (errno == EDESTADDRREQ) return F_status_set_error(F_socket_not);
if (!result) {
if (errno == EACCES) return F_status_set_error(F_access_denied);
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFBIG) return F_status_set_error(F_file_overflow);
if (errno == EDEADLK) return F_status_set_error(F_deadlock);
if (errno == EDESTADDRREQ) return F_status_set_error(F_socket_not);
* F_block (with error bit) if the action would block and non-blocking is set on the stream.
* F_buffer (with error bit) if the buffer is invalid.
* F_deadlock (with error bit) if operation would cause a deadlock.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_overflow (with error bit) if the write exceeds some implementation defined maximum file size.
* F_file_type_not_directory (with error bit) if F_NOTIFY was specified and file.id is not a directory.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* F_busy (with error bit) if file system is too busy to perform write.
- * F_file_descriptor (with error bit) if unable to load the file descriptor.
+ * F_file_descriptor_not (with error bit) if unable to load the file descriptor.
* F_file_found_not (with error bit) if the file was not found.
* F_file_open_max (with error bit) when system-wide max open files is reached.
* F_file_type_not_directory (with error bit) if F_NOTIFY was specified and file.id is not a directory.
* F_block (with error bit) if the action would block and non-blocking is set on the stream.
* F_buffer (with error bit) if the buffer is invalid.
* F_deadlock (with error bit) if operation would cause a deadlock.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
* F_file_descriptor_max (with error bit) if max file descriptors is reached.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_overflow (with error bit) if the write exceeds some implementation defined maximum file size.
* F_file_type_not_directory (with error bit) if F_NOTIFY was specified and file.id is not a directory.
* F_interrupt (with error bit) when program received an interrupt signal, halting operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_error (with error bit) if the file is already in the error state at the start of this function.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_access_denied (with error bit) on access denied.
* F_buffer (with error bit) if the buffer is invalid.
* F_busy (with error bit) if file system is too busy to perform write.
- * F_file_descriptor (with error bit) if unable to load the file descriptor.
+ * F_file_descriptor_not (with error bit) if unable to load the file descriptor.
* F_file_found_not (with error bit) if the file was not found.
* F_file_open_max (with error bit) when system-wide max open files is reached.
* F_file_type_not_directory (with error bit) if F_NOTIFY was specified and file.id is not a directory.
*id = -1;
}
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EDQUOT) return F_status_set_error(F_file_system_quota_block);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EIO) return F_status_set_error(F_input_output);
f_status_t private_f_file_flush(const f_file_t file) {
if (fsync(file.id) < 0) {
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EDQUOT) return F_status_set_error(F_file_system_quota_block);
if (errno == EINVAL) return F_status_set_error(F_support_not);
if (errno == EIO) return F_status_set_error(F_input_output);
if (fstat(file.id, file_stat) < 0) {
if (errno == EACCES) return F_status_set_error(F_access_denied);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (errno == ELOOP) return F_status_set_error(F_loop);
if (size_write < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
* F_okay on success.
*
* F_file_close (with error bit) if fclose() failed for any other reason.
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_synchronize (with error bit) on flush failure.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_input_output (with error bit) on I/O error.
* @return
* F_okay is returned on success.
*
- * F_file_descriptor (with error bit) if file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if file descriptor is invalid.
* F_file_system_quota_block (with error bit) if file system's disk blocks or inodes are exhausted.
* F_input_output (with error bit) on I/O error.
* F_parameter (with error bit) if a parameter is invalid.
* @return
* F_okay on success.
*
- * F_file_descriptor (with error bit) if unable to load the file descriptor (the file pointer may still be valid).
+ * F_file_descriptor_not (with error bit) if unable to load the file descriptor (the file pointer may still be valid).
* F_file_found_not (with error bit) if the file was not found.
* F_file_open (with error bit) if the file is already open.
* F_parameter (with error bit) if a parameter is invalid.
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_system_quota_block,
F_interrupt,
F_input_output,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_input_output,
F_space_not,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_input_output,
F_space_not,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_input_output,
F_space_not,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_system_quota_block,
F_interrupt,
F_input_output,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_input_output,
F_space_not,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_system_quota_block,
F_support_not,
F_input_output,
f_status_t statuss[] = {
F_access_denied,
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_system_quota_block,
F_file_found,
F_buffer,
f_status_t statuss[] = {
F_access_denied,
F_again,
- F_file_descriptor,
+ F_file_descriptor_not,
F_busy,
F_deadlock,
F_buffer,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_parameter,
F_bound_not,
F_number_overflow,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_parameter,
F_memory_not,
};
f_status_t statuss[] = {
- F_file_descriptor,
+ F_file_descriptor_not,
F_interrupt,
F_parameter,
F_memory_not,
f_status_t statuss[] = {
F_access_denied,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_parameter,
F_loop,
f_status_t statuss[] = {
F_access_denied,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_parameter,
F_loop,
f_status_t status_closes[] = {
F_access_denied,
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_overflow,
F_deadlock,
F_socket_not,
f_status_t statuss[] = {
F_access_denied,
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_overflow,
F_deadlock,
F_socket_not,
f_status_t statuss[] = {
F_access_denied,
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_file_overflow,
F_deadlock,
F_socket_not,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_buffer,
F_interrupt,
F_parameter,
static inline f_status_t private_inline_f_print_to_error(void) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EDESTADDRREQ) return F_status_set_error(F_socket_not);
if (errno == EDQUOT) return F_status_set_error(F_file_system_quota_block);
if (errno == EFBIG) return F_status_set_error(F_number_overflow);
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
static inline f_status_t private_inline_f_print_to_error(void) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EDESTADDRREQ) return F_status_set_error(F_socket_not);
if (errno == EDQUOT) return F_status_set_error(F_file_system_quota_block);
if (errno == EFBIG) return F_status_set_error(F_number_overflow);
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_file_system_quota_block (with error bit) if quota is reached or exceeded.
* F_input_output (with error bit) on I/O error.
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
f_status_t statuss[] = {
F_block,
- F_file_descriptor,
+ F_file_descriptor_not,
F_socket_not,
F_file_system_quota_block,
F_number_overflow,
if (size_write < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
* F_block (with error bit) if file descriptor is set to non-block and the write would result in a blocking operation.
* F_buffer (with error bit) if the buffer is invalid.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
if (size_read < 0) {
if (errno == EAGAIN || errno == EWOULDBLOCK) return F_status_set_error(F_block);
- if (errno == EBADF) return F_status_set_error(F_file_descriptor);
+ if (errno == EBADF) return F_status_set_error(F_file_descriptor_not);
if (errno == EFAULT) return F_status_set_error(F_buffer);
if (errno == EINTR) return F_status_set_error(F_interrupt);
if (errno == EINVAL) return F_status_set_error(F_parameter);
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_complete_not_utf_eof (with error bit) if UTF-8 character was incomplete at the end of the file.
* F_complete_not_utf_stop (with error bit) if UTF-8 character was incomplete at a stop point (file.size_read).
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_complete_not_utf_eof (with error bit) if UTF-8 character was incomplete at the end of the file.
* F_complete_not_utf_stop (with error bit) if UTF-8 character was incomplete at a stop point (file.size_read).
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_complete_not_utf_eof (with error bit) if UTF-8 character was incomplete at the end of the file.
* F_complete_not_utf_stop (with error bit) if UTF-8 character was incomplete at a stop point (file.size_read).
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.
* F_buffer (with error bit) if the buffer is invalid.
* F_file (with error bit) if file descriptor is in an error state.
* F_file_closed (with error bit) if file is not open.
- * F_file_descriptor (with error bit) if the file descriptor is invalid.
+ * F_file_descriptor_not (with error bit) if the file descriptor is invalid.
* F_file_type_directory (with error bit) if file descriptor represents a directory.
* F_input_output (with error bit) on I/O error.
* F_interrupt (with error bit) if interrupt is received.