1910382afSGarrett D'Amore# 2910382afSGarrett D'Amore# This file and its contents are supplied under the terms of the 3910382afSGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0. 4910382afSGarrett D'Amore# You may only use this file in accordance with the terms of version 5910382afSGarrett D'Amore# 1.0 of the CDDL. 6910382afSGarrett D'Amore# 7910382afSGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this 8910382afSGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at 9910382afSGarrett D'Amore# http://www.illumos.org/license/CDDL. 10910382afSGarrett D'Amore# 11910382afSGarrett D'Amore 12910382afSGarrett D'Amore# 13910382afSGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org> 14910382afSGarrett D'Amore# 15910382afSGarrett D'Amore 16910382afSGarrett D'Amore# 17910382afSGarrett D'Amore# Definitions found in unistd.h 18910382afSGarrett D'Amore# 19910382afSGarrett D'Amore 20910382afSGarrett D'Amore# 21910382afSGarrett D'Amore# Types. 22910382afSGarrett D'Amore# 23910382afSGarrett D'Amoretype | pid_t | unistd.h | POSIX+ SUS+ 24910382afSGarrett D'Amore 25910382afSGarrett D'Amore# 26910382afSGarrett D'Amore# Values. 27910382afSGarrett D'Amore# 28910382afSGarrett D'Amore# Note that the standard requires the user declare environ. 29910382afSGarrett D'Amore# value | environ | char ** | unistd.h | POSIX+ SUS+ 30910382afSGarrett D'Amorevalue | _CS_PATH | int | unistd.h | SUS+ 31910382afSGarrett D'Amore 32910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_CFLAGS | int | unistd.h | SUSv3+ 33910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LDFLAGS | int | unistd.h | SUSv3+ 34910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LIBS | int | unistd.h | SUSv3+ 35910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS | int | unistd.h | SUSv3+ 36910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+ 37910382afSGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LIBS | int | unistd.h | SUSv3+ 38910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_CFLAGS | int | unistd.h | SUSv3+ 39910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LDFLAGS | int | unistd.h | SUSv3+ 40910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LIBS | int | unistd.h | SUSv3+ 41910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS | int | unistd.h | SUSv3+ 42910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+ 43910382afSGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LIBS | int | unistd.h | SUSv3+ 44910382afSGarrett D'Amorevalue | _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS | int | unistd.h | SUSv3+ 45910382afSGarrett D'Amore 46910382afSGarrett D'Amore# 47910382afSGarrett D'Amore# Functions 48910382afSGarrett D'Amore# 49910382afSGarrett D'Amorefunc | access |\ 50910382afSGarrett D'Amore int |\ 51910382afSGarrett D'Amore const char *; int |\ 52910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 53910382afSGarrett D'Amore 54910382afSGarrett D'Amorefunc | chown |\ 55910382afSGarrett D'Amore int |\ 56910382afSGarrett D'Amore const char *; uid_t; gid_t |\ 57910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 58910382afSGarrett D'Amore 59910382afSGarrett D'Amorefunc | execl |\ 60910382afSGarrett D'Amore int |\ 61910382afSGarrett D'Amore const char *; const char * |\ 62910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 63910382afSGarrett D'Amore 64910382afSGarrett D'Amorefunc | execle |\ 65910382afSGarrett D'Amore int |\ 66910382afSGarrett D'Amore const char *; const char *; char *; char *const [] |\ 67910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 68910382afSGarrett D'Amore 69910382afSGarrett D'Amorefunc | execlp |\ 70910382afSGarrett D'Amore int |\ 71910382afSGarrett D'Amore const char *; const char *; char * |\ 72910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 73910382afSGarrett D'Amore 74910382afSGarrett D'Amorefunc | execv |\ 75910382afSGarrett D'Amore int |\ 76910382afSGarrett D'Amore const char *; char *const [] |\ 77910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 78910382afSGarrett D'Amore 79910382afSGarrett D'Amorefunc | execve |\ 80910382afSGarrett D'Amore int |\ 81910382afSGarrett D'Amore const char *; char *const []; char *const [] |\ 82910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 83910382afSGarrett D'Amore 84910382afSGarrett D'Amorefunc | execvp |\ 85910382afSGarrett D'Amore int |\ 86910382afSGarrett D'Amore const char *; char *const [] |\ 87910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 88910382afSGarrett D'Amore 89910382afSGarrett D'Amorefunc | fchown |\ 90910382afSGarrett D'Amore int |\ 91910382afSGarrett D'Amore int; uid_t; gid_t |\ 92910382afSGarrett D'Amore unistd.h | -POSIX+ SUS+ 93910382afSGarrett D'Amore 94910382afSGarrett D'Amorefunc | getlogin |\ 95910382afSGarrett D'Amore char * |\ 96910382afSGarrett D'Amore void |\ 97910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 98910382afSGarrett D'Amore 99910382afSGarrett D'Amorefunc | getlogin_r |\ 100910382afSGarrett D'Amore int |\ 101910382afSGarrett D'Amore char *; size_t |\ 102910382afSGarrett D'Amore unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+ 103910382afSGarrett D'Amore 104*c888b1c3SGarrett D'Amorefunc | getwd |\ 105*c888b1c3SGarrett D'Amore char * |\ 106*c888b1c3SGarrett D'Amore char * |\ 107*c888b1c3SGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+ 108*c888b1c3SGarrett D'Amore 109910382afSGarrett D'Amorefunc | lchown |\ 110910382afSGarrett D'Amore int |\ 111910382afSGarrett D'Amore const char *; uid_t; gid_t |\ 112910382afSGarrett D'Amore unistd.h | -POSIX+ SUS+ 113910382afSGarrett D'Amore 114910382afSGarrett D'Amorefunc | link |\ 115910382afSGarrett D'Amore int |\ 116910382afSGarrett D'Amore const char *; const char * |\ 117910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 118910382afSGarrett D'Amore 119910382afSGarrett D'Amore# XPG3 may have put this here incorrectly (Open Group says no..., but...) 120910382afSGarrett D'Amore# Probably this is actually our error, and we should kill it, but we can 121910382afSGarrett D'Amore# do that when kill off XPG3 support altogether. 122910382afSGarrett D'Amorefunc | rename |\ 123910382afSGarrett D'Amore int |\ 124910382afSGarrett D'Amore const char *; const char * |\ 125910382afSGarrett D'Amore unistd.h | -POSIX+ +XPG3 -XPG4+ 126910382afSGarrett D'Amore 127910382afSGarrett D'Amorefunc | symlink |\ 128910382afSGarrett D'Amore int |\ 129910382afSGarrett D'Amore const char *; const char * |\ 130910382afSGarrett D'Amore unistd.h | -XPG3+ -POSIX+ SUS+ 131910382afSGarrett D'Amore 132910382afSGarrett D'Amorefunc | ttyname |\ 133910382afSGarrett D'Amore char * |\ 134910382afSGarrett D'Amore int |\ 135910382afSGarrett D'Amore unistd.h | POSIX+ SUS+ 136910382afSGarrett D'Amore 137910382afSGarrett D'Amorefunc | ttyname_r |\ 138910382afSGarrett D'Amore int |\ 139910382afSGarrett D'Amore int; char *; size_t |\ 140910382afSGarrett D'Amore unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+ 141910382afSGarrett D'Amore 142*c888b1c3SGarrett D'Amorefunc | ualarm |\ 143*c888b1c3SGarrett D'Amore int |\ 144*c888b1c3SGarrett D'Amore useconds_t; useconds_t |\ 145*c888b1c3SGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+ 146*c888b1c3SGarrett D'Amore 147910382afSGarrett D'Amorefunc | unlink |\ 148910382afSGarrett D'Amore int |\ 149910382afSGarrett D'Amore const char * |\ 150910382afSGarrett D'Amore unistd.h | POSIX+ XPG3+ 151*c888b1c3SGarrett D'Amore 152*c888b1c3SGarrett D'Amorefunc | usleep |\ 153*c888b1c3SGarrett D'Amore int |\ 154*c888b1c3SGarrett D'Amore useconds_t |\ 155*c888b1c3SGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+ 156*c888b1c3SGarrett D'Amore 157*c888b1c3SGarrett D'Amorefunc | vfork |\ 158*c888b1c3SGarrett D'Amore pid_t |\ 159*c888b1c3SGarrett D'Amore void |\ 160*c888b1c3SGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+ 161