unistd: Add _POSIX_DEVICE_CONTROL.

We have posix_devctl, so we should declare this now.
This commit is contained in:
Augustin Cavalier
2026-01-06 19:38:49 -05:00
parent 1e4c529aeb
commit ca5c5d531e
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -49,6 +49,7 @@
#define _POSIX_CHOWN_RESTRICTED (1)
#define _POSIX_CLOCK_SELECTION (200809L)
#define _POSIX_CPUTIME (200809L)
#define _POSIX_DEVICE_CONTROL (202405L)
#define _POSIX_FSYNC (200809L)
#define _POSIX_IPV6 (200809L)
#define _POSIX_JOB_CONTROL (1)
@@ -306,6 +307,8 @@
#define _SC_THREAD_THREADS_MAX 141
#define _SC_RE_DUP_MAX 142
#define _SC_DEVICE_CONTROL 143
/* confstr() constants */
#define _CS_PATH 1