posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
pathconf.h File Reference

POSIX pathname configuration constants (<sys/pathconf.h>) More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  {
  _PC_2_SYMLINKS , _PC_ALLOC_SIZE_MIN , _PC_ASYNC_IO , _PC_CHOWN_RESTRICTED ,
  _PC_FILESIZEBITS , _PC_LINK_MAX , _PC_MAX_CANON , _PC_MAX_INPUT ,
  _PC_NAME_MAX , _PC_NO_TRUNC , _PC_PATH_MAX , _PC_PIPE_BUF ,
  _PC_PRIO_IO , _PC_REC_INCR_XFER_SIZE , _PC_REC_MAX_XFER_SIZE , _PC_REC_MIN_XFER_SIZE ,
  _PC_REC_XFER_ALIGN , _PC_SYMLINK_MAX , _PC_SYNC_IO , _PC_TIMESTAMP_RESOLUTION ,
  _PC_VDISABLE
}
 pathconf() / fpathconf() name constants. More...
 

Detailed Description

POSIX pathname configuration constants (<sys/pathconf.h>)

Defines the _PC_* name constants used as the second argument to pathconf() and fpathconf() to query per-file configuration limits.

See also
POSIX.1-2017 pathconf()

Definition in file pathconf.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

pathconf() / fpathconf() name constants.

Enumerator
_PC_2_SYMLINKS 

Pathname creates a symbolic link.

_PC_ALLOC_SIZE_MIN 

Minimum storage actually allocated for data.

_PC_ASYNC_IO 

Asynchronous I/O may be performed.

_PC_CHOWN_RESTRICTED 

Use of chown() is restricted.

_PC_FILESIZEBITS 

Minimum bits to represent maximum file size.

_PC_LINK_MAX 

Maximum number of links to the file.

_PC_MAX_CANON 

Maximum bytes in a terminal canonical input line.

_PC_MAX_INPUT 

Minimum bytes for which space is available in a terminal input queue.

_PC_NAME_MAX 

Maximum number of bytes in a file name.

_PC_NO_TRUNC 

Filenames longer than NAME_MAX generate an error.

_PC_PATH_MAX 

Maximum number of bytes in a pathname.

_PC_PIPE_BUF 

Maximum number of bytes written atomically to a pipe.

_PC_PRIO_IO 

Prioritized I/O is supported.

_PC_REC_INCR_XFER_SIZE 

Recommended increment for efficient I/O transfers.

_PC_REC_MAX_XFER_SIZE 

Maximum recommended transfer size for efficient I/O.

_PC_REC_MIN_XFER_SIZE 

Minimum recommended transfer size for efficient I/O.

_PC_REC_XFER_ALIGN 

Recommended buffer alignment for efficient I/O transfers.

_PC_SYMLINK_MAX 

Maximum number of bytes in a symbolic link.

_PC_SYNC_IO 

Synchronized I/O may be performed.

_PC_TIMESTAMP_RESOLUTION 

Resolution of file timestamps in nanoseconds.

_PC_VDISABLE 

Terminal special characters can be disabled.

Definition at line 28 of file pathconf.h.