Chapter 1. Compatibility

Table of Contents

System interfaces compatible with the Single Unix Specification, Version 7:
System interfaces compatible with BSD functions:
System interfaces compatible with GNU or Linux extensions:
System interfaces compatible with Solaris or SunOS functions:
Other UNIX system interfaces, not in POSIX.1-2008 or deprecated:
NOT implemented system interfaces from the Single Unix Specification, Volume 7:
Implementation Notes

System interfaces compatible with the Single Unix Specification, Version 7:

Note that the core of the Single Unix Specification, Version 7 is also IEEE Std 1003.1-2017 (POSIX.1-2017).

    FD_CLR
    FD_ISSET
    FD_SET
    FD_ZERO
    _Exit
    _exit
    _longjmp
    _setjmp
    _tolower
    _toupper
    a64l
    abort
    abs
    accept
    access
    acos
    acosf
    acosh
    acoshf
    acoshl
    acosl
    aio_cancel
    aio_error
    aio_fsync
    aio_read
    aio_return
    aio_suspend
    aio_write
    alarm
    alphasort
    asctime
    asctime_r
    asin
    asinf
    asinh
    asinhf
    asinhl
    asinl
    atan
    atan2
    atan2f
    atan2l
    atanf
    atanh
    atanhf
    atanhl
    atanl
    atexit
    atof
    atoff
    atoi
    atol
    atoll
    basename			(see the section called “Implementation Notes”)
    bind
    bsearch
    btowc
    cabs
    cabsf
    cabsl
    cacos
    cacosf
    cacosh
    cacoshf
    cacoshl
    cacosl
    calloc
    carg
    cargf
    cargl
    casin
    casinf
    casinh
    casinhf
    casinhl
    casinl
    catan
    catanf
    catanh
    catanhf
    catanhl
    catanl
    catclose
    catgets
    catopen
    cbrt
    cbrtf
    cbrtl
    ccos
    ccosf
    ccosh
    ccoshf
    ccoshl
    ccosl
    ceil
    ceilf
    ceill
    cexp
    cexpf
    cexpl
    cfgetispeed
    cfgetospeed
    cfsetispeed
    cfsetospeed
    chdir
    chmod
    chown
    cimag
    cimagf
    cimagl
    clearerr
    clock
    clock_getcpuclockid
    clock_getres
    clock_gettime
    clock_nanosleep		(see the section called “Implementation Notes”)
    clock_settime		(see the section called “Implementation Notes”)
    clog
    clogf
    clogl
    close
    closedir
    closelog
    confstr
    conj
    conjf
    conjl
    connect
    copysign
    copysignf
    copysignl
    cos
    cosf
    cosh
    coshf
    coshl
    cosl
    cpow
    cpowf
    cpowl
    cproj
    cprojf
    cprojl
    creal
    crealf
    creall
    creat
    crypt			(available in external "crypt" library)
    csin
    csinf
    csinh
    csinhf
    csinhl
    csinl
    csqrt
    csqrtf
    csqrtl
    ctan
    ctanf
    ctanh
    ctanhf
    ctanhl
    ctanl
    ctermid
    ctime
    ctime_r
    daylight
    dbm_clearerr		(available in external "libgdbm" library)
    dbm_close			(available in external "libgdbm" library)
    dbm_delete			(available in external "libgdbm" library)
    dbm_error			(available in external "libgdbm" library)
    dbm_fetch			(available in external "libgdbm" library)
    dbm_firstkey		(available in external "libgdbm" library)
    dbm_nextkey			(available in external "libgdbm" library)
    dbm_open			(available in external "libgdbm" library)
    dbm_store			(available in external "libgdbm" library)
    difftime
    dirfd
    dirname
    div
    dlclose
    dlerror
    dlopen
    dlsym
    dprintf
    drand48
    dup
    dup2
    duplocale
    encrypt			(available in external "crypt" library)
    endgrent
    endhostent
    endprotoent
    endpwent
    endservent
    endutxent
    environ
    erand48
    erf
    erfc
    erfcf
    erfcl
    erff
    erfl
    errno
    execl
    execle
    execlp
    execv
    execve
    execvp
    exit
    exp
    exp2
    exp2f
    exp2l
    expf
    expl
    expm1
    expm1f
    expm1l
    fabs
    fabsf
    fabsl
    faccessat
    fchdir
    fchmod
    fchmodat
    fchown
    fchownat
    fclose
    fcntl			(see the section called “Implementation Notes”)
    fdatasync
    fdim
    fdimf
    fdiml
    fdopen
    fdopendir
    feclearexcept
    fegetenv
    fegetexceptflag
    fegetround
    feholdexcept
    feof
    feraiseexcept
    ferror
    fesetenv
    fesetexceptflag
    fesetround
    fetestexcept
    feupdateenv
    fexecve
    fflush
    ffs
    fgetc
    fgetpos
    fgets
    fgetwc
    fgetws
    fileno
    flockfile
    floor
    floorf
    floorl
    fma
    fmaf
    fmal
    fmax
    fmaxf
    fmaxl
    fmemopen
    fmin
    fminf
    fminl
    fmod
    fmodf
    fmodl
    fnmatch
    fopen
    fork
    fpathconf
    fpclassify			(see the section called “Implementation Notes”)
    fprintf
    fputc
    fputs
    fputwc
    fputws
    fread
    free
    freeaddrinfo
    freelocale
    freopen
    frexp
    frexpf
    frexpl
    fscanf
    fseek
    fseeko
    fsetpos
    fstat
    fstatat
    fstatvfs
    fsync
    ftell
    ftello
    ftok
    ftruncate
    ftrylockfile
    ftw
    funlockfile
    futimens
    fwide
    fwprintf
    fwrite
    fwscanf
    gai_strerror
    getaddrinfo
    getc
    getc_unlocked
    getchar
    getchar_unlocked
    getcwd
    getdelim
    getdomainname
    getegid
    getenv
    geteuid
    getgid
    getgrent
    getgrgid
    getgrgid_r
    getgrnam
    getgrnam_r
    getgroups
    gethostid
    gethostname
    getitimer			(see the section called “Implementation Notes”)
    getline
    getlogin
    getlogin_r
    getnameinfo
    getopt
    getpeername
    getpgid
    getpgrp
    getpid
    getppid
    getpriority
    getprotobyname
    getprotobynumber
    getprotoent
    getpwent
    getpwnam
    getpwnam_r
    getpwuid
    getpwuid_r
    getrlimit			(see the section called “Implementation Notes”)
    getrusage
    gets
    getservbyname
    getservbyport
    getservent
    getsid
    getsockname
    getsockopt
    getsubopt
    gettimeofday
    getuid
    getutxent
    getutxid
    getutxline
    getwc
    getwchar
    glob
    globfree
    gmtime
    gmtime_r
    grantpt
    hcreate
    hdestroy
    hsearch
    htonl
    htons
    hypot
    hypotf
    hypotl
    iconv			(available in external "libiconv" library)
    iconv_close			(available in external "libiconv" library)
    iconv_open			(available in external "libiconv" library)
    if_freenameindex
    if_indextoname
    if_nameindex
    if_nametoindex
    ilogb
    ilogbf
    ilogbl
    imaxabs
    imaxdiv
    inet_addr
    inet_ntoa
    inet_ntop
    inet_pton
    initstate
    insque
    ioctl
    isalnum
    isalnum_l
    isalpha
    isalpha_l
    isascii
    isatty
    isblank
    isblank_l
    iscntrl
    iscntrl_l
    isdigit
    isdigit_l
    isfinite			(see the section called “Implementation Notes”)
    isgraph
    isgraph_l
    isgreater			(see the section called “Implementation Notes”)
    isgreaterequal		(see the section called “Implementation Notes”)
    isinf			(see the section called “Implementation Notes”)
    isless
    islessequal			(see the section called “Implementation Notes”)
    islessgreater		(see the section called “Implementation Notes”)
    islower
    islower_l
    isnan			(see the section called “Implementation Notes”)
    isnormal			(see the section called “Implementation Notes”)
    isprint
    isprint_l
    ispunct
    ispunct_l
    isspace
    isspace_l
    isunordered			(see the section called “Implementation Notes”)
    isupper
    isupper_l
    iswalnum
    iswalnum_l
    iswalpha
    iswalpha_l
    iswblank
    iswblank_l
    iswcntrl
    iswcntrl_l
    iswctype
    iswctype_l
    iswdigit
    iswdigit_l
    iswgraph
    iswgraph_l
    iswlower
    iswlower_l
    iswprint
    iswprint_l
    iswpunct
    iswpunct_l
    iswspace
    iswspace_l
    iswupper
    iswupper_l
    iswxdigit
    iswxdigit_l
    isxdigit
    isxdigit_l
    j0
    j1
    jn
    jrand48
    kill
    killpg
    l64a
    labs
    lchown
    lcong48
    ldexp
    ldexpf
    ldexpl
    ldiv
    lfind
    lgamma
    lgammaf
    lgammal
    link
    linkat
    lio_listio
    listen
    llabs
    lldiv
    llrint
    llrintf
    llrintl
    llround
    llroundf
    llroundl
    localeconv
    localtime
    localtime_r
    lockf			(see the section called “Implementation Notes”)
    log
    log10
    log10f
    log10l
    log1p
    log1pf
    log1pl
    log2
    log2f
    log2l
    logb
    logbf
    logbl
    logf
    logl
    longjmp
    lrand48
    lrint
    lrintf
    lrintl
    lround
    lroundf
    lroundl
    lsearch
    lseek
    lstat
    malloc
    mblen
    mbrlen
    mbrtowc
    mbsinit
    mbsnrtowcs
    mbsrtowcs
    mbstowcs
    mbtowc
    memccpy
    memchr
    memcmp
    memcpy
    memmove
    memset
    mkdir
    mkdirat
    mkdtemp
    mkfifo
    mkfifoat
    mknod
    mknodat
    mkstemp
    mktime
    mlock
    mmap
    modf
    modff
    modfl
    mprotect
    mq_close
    mq_getattr
    mq_notify
    mq_open
    mq_receive
    mq_send
    mq_setattr
    mq_timedreceive
    mq_timedsend
    mq_unlink
    mrand48
    msgctl			(see the section called “Implementation Notes”)
    msgget			(see the section called “Implementation Notes”)
    msgrcv			(see the section called “Implementation Notes”)
    msgsnd			(see the section called “Implementation Notes”)
    msync
    munlock
    munmap
    nan
    nanf
    nanl
    nanosleep
    nearbyint
    nearbyintf
    nearbyintl
    newlocale
    nextafter
    nextafterf
    nextafterl
    nexttoward
    nexttowardf
    nexttowardl
    nftw
    nice
    nl_langinfo
    nl_langinfo_l
    nrand48
    ntohl
    ntohs
    open
    open_memstream
    open_wmemstream
    openat
    opendir
    openlog
    optarg
    opterr
    optind
    optopt
    pathconf
    pause
    pclose
    perror
    pipe
    poll
    popen
    posix_fadvise
    posix_fallocate
    posix_madvise
    posix_memalign
    posix_openpt
    posix_spawn
    posix_spawn_file_actions_addclose
    posix_spawn_file_actions_adddup2
    posix_spawn_file_actions_addopen
    posix_spawn_file_actions_destroy
    posix_spawn_file_actions_init
    posix_spawnattr_destroy
    posix_spawnattr_getflags
    posix_spawnattr_getpgroup
    posix_spawnattr_getschedparam
    posix_spawnattr_getschedpolicy
    posix_spawnattr_getsigdefault
    posix_spawnattr_getsigmask
    posix_spawnattr_init
    posix_spawnattr_setflags
    posix_spawnattr_setpgroup
    posix_spawnattr_setschedparam
    posix_spawnattr_setschedpolicy
    posix_spawnattr_setsigdefault
    posix_spawnattr_setsigmask
    posix_spawnp
    pow
    powf
    powl
    pread
    printf
    pselect
    psiginfo
    psignal
    pthread_atfork
    pthread_attr_destroy
    pthread_attr_getdetachstate
    pthread_attr_getguardsize
    pthread_attr_getinheritsched
    pthread_attr_getschedparam
    pthread_attr_getschedpolicy
    pthread_attr_getscope
    pthread_attr_getstack
    pthread_attr_getstacksize
    pthread_attr_init
    pthread_attr_setdetachstate
    pthread_attr_setguardsize
    pthread_attr_setinheritsched
    pthread_attr_setschedparam
    pthread_attr_setschedpolicy
    pthread_attr_setscope
    pthread_attr_setstack
    pthread_attr_setstacksize
    pthread_barrier_destroy
    pthread_barrier_init
    pthread_barrier_wait
    pthread_barrierattr_destroy
    pthread_barrierattr_getpshared
    pthread_barrierattr_init
    pthread_barrierattr_setpshared
    pthread_cancel
    pthread_cond_broadcast
    pthread_cond_destroy
    pthread_cond_init
    pthread_cond_signal
    pthread_cond_timedwait
    pthread_cond_wait
    pthread_condattr_destroy
    pthread_condattr_getclock
    pthread_condattr_getpshared
    pthread_condattr_init
    pthread_condattr_setclock
    pthread_condattr_setpshared
    pthread_create
    pthread_detach
    pthread_equal
    pthread_exit
    pthread_getconcurrency
    pthread_getcpuclockid
    pthread_getschedparam
    pthread_getspecific
    pthread_join
    pthread_key_create
    pthread_key_delete
    pthread_kill
    pthread_mutex_destroy
    pthread_mutex_getprioceiling
    pthread_mutex_init
    pthread_mutex_lock
    pthread_mutex_setprioceiling
    pthread_mutex_timedlock
    pthread_mutex_trylock
    pthread_mutex_unlock
    pthread_mutexattr_destroy
    pthread_mutexattr_getprioceiling
    pthread_mutexattr_getprotocol
    pthread_mutexattr_getpshared
    pthread_mutexattr_gettype
    pthread_mutexattr_init
    pthread_mutexattr_setprioceiling
    pthread_mutexattr_setprotocol
    pthread_mutexattr_setpshared
    pthread_mutexattr_settype
    pthread_once
    pthread_rwlock_destroy
    pthread_rwlock_init
    pthread_rwlock_rdlock
    pthread_rwlock_timedrdlock
    pthread_rwlock_timedwrlock
    pthread_rwlock_tryrdlock
    pthread_rwlock_trywrlock
    pthread_rwlock_unlock
    pthread_rwlock_wrlock
    pthread_rwlockattr_destroy
    pthread_rwlockattr_getpshared
    pthread_rwlockattr_init
    pthread_rwlockattr_setpshared
    pthread_self
    pthread_setcancelstate
    pthread_setcanceltype
    pthread_setconcurrency
    pthread_setschedparam
    pthread_setschedprio
    pthread_setspecific
    pthread_sigmask
    pthread_spin_destroy
    pthread_spin_init
    pthread_spin_lock
    pthread_spin_trylock
    pthread_spin_unlock
    pthread_testcancel
    ptsname
    putc
    putc_unlocked
    putchar
    putchar_unlocked
    putenv
    puts
    pututxline
    putwc
    putwchar
    pwrite
    qsort
    raise
    rand
    rand_r
    random
    read
    readdir
    readdir_r
    readlink
    readlinkat
    readv
    realloc
    realpath
    recv
    recvfrom
    recvmsg
    regcomp
    regerror
    regexec
    regfree
    remainder
    remainderf
    reminderl
    remove
    remque
    remquo
    remquof
    remquol
    rename
    renameat
    rewind
    rewinddir
    rint
    rintf
    rintl
    rmdir
    round
    roundf
    roundl
    scalbln
    scalblnf
    scalblnl
    scalbn
    scalbnf
    scalbnl
    scandir
    scanf
    sched_get_priority_max
    sched_get_priority_min
    sched_getparam
    sched_getscheduler
    sched_rr_get_interval
    sched_setparam
    sched_setscheduler
    sched_yield
    seed48
    seekdir
    select
    sem_close
    sem_destroy
    sem_getvalue
    sem_init
    sem_open
    sem_post
    sem_timedwait
    sem_trywait
    sem_unlink
    sem_wait
    semctl			(see the section called “Implementation Notes”)
    semget			(see the section called “Implementation Notes”)
    semop			(see the section called “Implementation Notes”)
    send
    sendmsg
    sendto
    setbuf
    setegid
    setenv
    seteuid
    setgid
    setgrent
    sethostent
    setitimer			(see the section called “Implementation Notes”)
    setjmp
    setkey			(available in external "crypt" library)
    setlocale
    setlogmask
    setpgid
    setpgrp
    setpriority
    setprotoent
    setpwent
    setregid
    setreuid
    setrlimit			(see the section called “Implementation Notes”)
    setservent
    setsid
    setsockopt
    setstate
    setuid
    setutxent
    setvbuf
    shm_open
    shm_unlink
    shmat			(see the section called “Implementation Notes”)
    shmctl			(see the section called “Implementation Notes”)
    shmdt			(see the section called “Implementation Notes”)
    shmget			(see the section called “Implementation Notes”)
    shutdown
    sigaction
    sigaddset
    sigaltstack
    sigdelset
    sigemptyset
    sigfillset
    sighold
    sigignore
    siginterrupt
    sigismember
    siglongjmp
    signal
    signbit			(see the section called “Implementation Notes”)
    signgam
    sigpause			(see the section called “Implementation Notes”)
    sigpending
    sigprocmask
    sigqueue
    sigrelse
    sigset
    sigsetjmp
    sigsuspend
    sigtimedwait
    sigwait
    sigwaitinfo
    sin
    sinf
    sinh
    sinhf
    sinhl
    sinl
    sleep
    snprintf
    sockatmark
    socket
    socketpair
    sprintf
    sqrt
    sqrtf
    sqrtl
    srand
    srand48
    srandom
    sscanf
    stat
    statvfs
    stderr
    stdin
    stdout
    stpcpy
    stpncpy
    strcasecmp
    strcasecmp_l
    strcat
    strchr
    strcmp
    strcoll
    strcoll_l
    strcpy
    strcspn
    strdup
    strerror
    strerror_l
    strerror_r			(see the section called “Implementation Notes”)
    strfmon
    strfmon_l
    strftime
    strftime_l
    strlen
    strncasecmp
    strncasecmp_l
    strncat
    strncmp
    strncpy
    strndup
    strnlen
    strpbrk
    strptime
    strrchr
    strsignal
    strspn
    strstr
    strtod
    strtof
    strtoimax
    strtok
    strtok_r
    strtol
    strtold
    strtoll
    strtoul
    strtoull
    strtoumax
    strxfrm
    strxfrm_l
    swab
    swprintf
    swscanf
    symlink
    symlinkat
    sync
    sysconf
    syslog
    system
    tan
    tanf
    tanh
    tanhf
    tanhl
    tanl
    tcdrain
    tcflow
    tcflush
    tcgetattr
    tcgetpgrp
    tcgetsid
    tcsendbreak
    tcsetattr
    tcsetpgrp
    tdelete
    telldir
    tempnam
    tfind
    tgamma
    tgammaf
    tgammal
    time
    timer_create		(see the section called “Implementation Notes”)
    timer_delete
    timer_getoverrun
    timer_gettime
    timer_settime
    times
    timezone
    tmpfile
    tmpnam
    tolower
    tolower_l
    toupper
    toupper_l
    towctrans
    towctrans_l
    towlower
    towlower_l
    towupper
    towupper_l
    trunc
    truncate
    truncf
    truncl
    tsearch
    ttyname
    ttyname_r
    twalk
    tzname
    tzset
    umask
    uname
    ungetc
    ungetwc
    unlink
    unlinkat
    unlockpt
    unsetenv
    uselocale
    utime
    utimensat
    utimes
    va_arg
    va_copy
    va_end
    va_start
    vdprintf
    vfprintf
    vfscanf
    vfwprintf
    vfwscanf
    vprintf
    vscanf
    vsnprintf
    vsprintf
    vsscanf
    vswprintf
    vswscanf
    vwprintf
    vwscanf
    wait
    waitpid
    wcpcpy
    wcpncpy
    wcrtomb
    wcscasecmp
    wcscasecmp_l
    wcscat
    wcschr
    wcscmp
    wcscoll
    wcscoll_l
    wcscpy
    wcscspn
    wcsdup
    wcsftime
    wcslen
    wcsncasecmp
    wcsncasecmp_l
    wcsncat
    wcsncmp
    wcsncpy
    wcsnlen
    wcsnrtombs
    wcspbrk
    wcsrchr
    wcsrtombs
    wcsspn
    wcsstr
    wcstod
    wcstof
    wcstoimax
    wcstok
    wcstol
    wcstold
    wcstoll
    wcstombs
    wcstoul
    wcstoull
    wcstoumax
    wcswidth
    wcsxfrm
    wcsxfrm_l
    wctob
    wctomb
    wctrans
    wctrans_l
    wctype
    wctype_l
    wcwidth
    wmemchr
    wmemcmp
    wmemcpy
    wmemmove
    wmemset
    wordexp
    wordfree
    wprintf
    write
    writev
    wscanf
    y0
    y1
    yn