summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-11 23:43:19 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-05-05 21:21:37 -0500
commit7acad7856885dd41270a047a336ad1e7ff6cb4c0 (patch)
treee757e79c3cde79754da845463c4149abc2fa2b51 /include/unistd.h
parent10c3cdac03aa3ccbeb00ba96b237c69db831364f (diff)
downloadmusl-7acad7856885dd41270a047a336ad1e7ff6cb4c0.tar.gz
musl-7acad7856885dd41270a047a336ad1e7ff6cb4c0.tar.bz2
musl-7acad7856885dd41270a047a336ad1e7ff6cb4c0.tar.xz
musl-7acad7856885dd41270a047a336ad1e7ff6cb4c0.zip
pathconf: add _PC_TIMESTAMP_RESOLUTION
Right now, this is a worst-case assumption; some kernels may actually have a value of 100000 here (100 Hz timers). This is considered the easiest implementation. This is required to be present in <unistd.h>.
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index cfd91279..0ee0e922 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -282,6 +282,7 @@ pid_t gettid(void);
#define _PC_ALLOC_SIZE_MIN 18
#define _PC_SYMLINK_MAX 19
#define _PC_2_SYMLINKS 20
+#define _PC_TIMESTAMP_RESOLUTION 21
#define _SC_ARG_MAX 0
#define _SC_CHILD_MAX 1