de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# This file and its contents are supplied under the terms of the
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Common Development and Distribution License ("CDDL"), version 1.0.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# You may only use this file in accordance with the terms of version
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# 1.0 of the CDDL.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# A full copy of the text of the CDDL should have accompanied this
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# source. A copy of the CDDL is also available via the Internet at
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# http://www.illumos.org/license/CDDL.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Copyright 2015 Garrett D'Amore <garrett@damore.org>
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Definitions found in unistd.h
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Types.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amoretype | pid_t | unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Values.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Note that the standard requires the user declare environ.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# value | environ | char ** | unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_PATH | int | unistd.h | SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_CFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LDFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFF32_LIBS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_ILP32_OFFBIG_LIBS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_CFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LDFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LP64_OFF64_LIBS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_LPBIG_OFFBIG_LIBS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorevalue | _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS | int | unistd.h | SUSv3+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Functions
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore#
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | access |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | chown |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; uid_t; gid_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execl |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execle |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char *; char *; char *const [] |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execlp |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char *; char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execv |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; char *const [] |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execve |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; char *const []; char *const [] |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | execvp |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; char *const [] |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | fchown |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int; uid_t; gid_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | getlogin |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore void |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | getlogin_r |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore char *; size_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amorefunc | getwd |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore char * |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore char * |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | lchown |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; uid_t; gid_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | link |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# XPG3 may have put this here incorrectly (Open Group says no..., but...)
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# Probably this is actually our error, and we should kill it, but we can
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore# do that when kill off XPG3 support altogether.
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | rename |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -POSIX+ +XPG3 -XPG4+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | symlink |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char *; const char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -XPG3+ -POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | ttyname |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ SUS+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | ttyname_r |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int; char *; size_t |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | -POSIX+ -SUS+ +POSIX-1995+ SUSv2+
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amorefunc | ualarm |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore int |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore useconds_t; useconds_t |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amorefunc | unlink |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore int |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore const char * |\
de572d98af8238405c5d1292a788b1a85b0c68ebGarrett D'Amore unistd.h | POSIX+ XPG3+
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amorefunc | usleep |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore int |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore useconds_t |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amorefunc | vfork |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore pid_t |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore void |\
aaec9ca27fa0bbff6dbb446cd02e5cdd463e85efGarrett D'Amore unistd.h | -ALL SUS+ -SUSv4+