posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
Loading...
Searching...
No Matches
pathconf.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024, Meta
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
20#ifndef ZEPHYR_INCLUDE_POSIX_SYS_PATHCONF_H_
21#define ZEPHYR_INCLUDE_POSIX_SYS_PATHCONF_H_
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/*
28 * Toolchains (e.g. picolibc) may already define _PC_* as numeric macros via
29 * <unistd.h>. Do not reintroduce them as enum enumerators in that case.
30 */
31#ifndef _PC_LINK_MAX
33enum {
55};
56#endif /* !_PC_LINK_MAX */
57
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif /* ZEPHYR_INCLUDE_POSIX_SYS_PATHCONF_H_ */
@ _PC_PRIO_IO
Prioritized I/O is supported.
Definition pathconf.h:46
@ _PC_PIPE_BUF
Maximum number of bytes written atomically to a pipe.
Definition pathconf.h:45
@ _PC_VDISABLE
Terminal special characters can be disabled.
Definition pathconf.h:54
@ _PC_CHOWN_RESTRICTED
Use of chown() is restricted.
Definition pathconf.h:37
@ _PC_MAX_CANON
Maximum bytes in a terminal canonical input line.
Definition pathconf.h:40
@ _PC_NO_TRUNC
Filenames longer than NAME_MAX generate an error.
Definition pathconf.h:43
@ _PC_SYNC_IO
Synchronized I/O may be performed.
Definition pathconf.h:52
@ _PC_LINK_MAX
Maximum number of links to the file.
Definition pathconf.h:39
@ _PC_REC_MAX_XFER_SIZE
Maximum recommended transfer size for efficient I/O.
Definition pathconf.h:48
@ _PC_REC_XFER_ALIGN
Recommended buffer alignment for efficient I/O transfers.
Definition pathconf.h:50
@ _PC_ALLOC_SIZE_MIN
Minimum storage actually allocated for data.
Definition pathconf.h:35
@ _PC_REC_MIN_XFER_SIZE
Minimum recommended transfer size for efficient I/O.
Definition pathconf.h:49
@ _PC_MAX_INPUT
Minimum bytes for which space is available in a terminal input queue.
Definition pathconf.h:41
@ _PC_NAME_MAX
Maximum number of bytes in a file name.
Definition pathconf.h:42
@ _PC_ASYNC_IO
Asynchronous I/O may be performed.
Definition pathconf.h:36
@ _PC_REC_INCR_XFER_SIZE
Recommended increment for efficient I/O transfers.
Definition pathconf.h:47
@ _PC_FILESIZEBITS
Minimum bits to represent maximum file size.
Definition pathconf.h:38
@ _PC_SYMLINK_MAX
Maximum number of bytes in a symbolic link.
Definition pathconf.h:51
@ _PC_PATH_MAX
Maximum number of bytes in a pathname.
Definition pathconf.h:44
@ _PC_2_SYMLINKS
Pathname creates a symbolic link.
Definition pathconf.h:34
@ _PC_TIMESTAMP_RESOLUTION
Resolution of file timestamps in nanoseconds.
Definition pathconf.h:53