options/posix: add some pathconf and sysconf names
@@ -80,9 +80,14 @@ extern "C" {
// MISSING: _PC macros
// For now, use the Linux ABI for _PC constants.
#define _PC_LINK_MAX 0
+#define _PC_MAX_CANON 1
+#define _PC_MAX_INPUT 2
#define _PC_NAME_MAX 3
#define _PC_PATH_MAX 4
#define _PC_PIPE_BUF 5
+#define _PC_CHOWN_RESTRICTED 6
+#define _PC_NO_TRUNC 7
+#define _PC_VDISABLE 8
// MISSING: remaining _SC_macros
#define _SC_ARG_MAX 0
@@ -94,11 +99,18 @@ extern "C" {
#define _SC_NPROCESSORS_ONLN 6
#define _SC_GETGR_R_SIZE_MAX 7
+#define _SC_CHILD_MAX 7
+#define _SC_CLK_TCK 8
+#define _SC_NGROUPS_MAX 9
+#define _SC_VERSION 9
+#define _SC_SAVED_IDS 9
+#define _SC_JOB_CONTROL 9
+
#define STDERR_FILENO 2
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
-// MISSING: _POSIX_VDISABLE
+#define _POSIX_VDISABLE (-1)
// MISSING: intptr_t
