Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Scope of the supported C library

&pagelevel(4)&pagelevel

The following table provides an overview of the supported C library functions.

Thereby means

executable with POSIX functionality

The POSIX subsystem is available and the POSIX link option has been used.

executable without POSIX functionality

The POSIX link option has been used.

Key

The following characters have the following meanings in the "Other Standards" column:

x

Function required by a standard newer than XPG5 and is only executable with POSIX functionality.

y

Function required by a standard newer than XPG5 and is also executable without POSIX functionality.

The following characters have the following meanings in the "XPG5" column:

x

Function which is required by XPG5 and is portable with respect to XPG5-conformant systems. This functions is only executable with POSIX functionality.

y

Function which is required by XPG5 and is portable with respect to XPG5-conformant systems. This function is also executable without POSIX functionality.

d

Functions that can process BS2000 files in addition to POSIX files.

a

Functions that have been extended to include the functionality of the C (BS2000) library function that can run without POSIX functionality.

The following characters have the following meanings in the "XPG4" column:

x

Function which is required by XPG4 Version 2 and is portable with respect to XPG4-conformant systems. This functions is only executable with POSIX functionality.

y

Function which is required by XPG4 Version 2 and is portable with respect to XPG4-conformant systems. This function is also executable without POSIX functionality.

d

Functions that can process BS2000 files in addition to POSIX files.

a

Functions that have been extended to include the functionality of the C (BS2000) library function that can run without POSIX functionality.

x resp. y in column "Extension“ means:


Extension that is only executable with POSIX functionality (x) or is also executable without POSIX funktionality (y).

x in column "BS2000“ means:


BS2000 specific extension that is executable with or without POSIX functionality.

x resp. y in column "ANSI“ means:


Functions that are not in XPG4 Version 2 and also do not represent a BS2000 extension, but were implemented instead in accordance with the ANSI C standard (__STDC_VERSION__ >= 199901L).
The function is only executable with POSIX functionality (x) or is executable also without POSIX functionality (y).

P  in  column "BS2000 Manual“ means:


The function is executable without POSIX functionality but is not described in the manual  "C Library Functions" [6].
The description can be taken from this manual.
For some of these functions, the header file specified in the description is not available in the $.SYSLIB.CRTE library, but only in the $.SYSLIB.POSIX-HEADER library.

Function

Other
Standards

XPG5

XPG4
Version 2

Erweiterungen

ANSI

BS2000
Manual

Extension

BS2000

_a2e()





x

_a2e_dup()





x

_a2e_dup_n()





x

_a2e_max()





x

_a2e_n()





x

a64l()


y

y





abort()


ya

ya





abs()


y

y





access()


x

x





acos()


y

y





acosf()






y


acosl()






y


acosh()


y

y




P

acoshf()






y

P

acoshl()






y

P

advance()


x

x





alarm()


ya

ya





altzone




x




ascii_to_ebcdic()




y



P

asctime_r()


y





P

asctime()


y

y





asin()


y

y





asinf()






y


asinl()






y


asinh()


y

y




P

asinhf()






y

P

asinhl()






y

P

assert()


y

y





atan()


y

y





atanf()






y


atanl()






y


atan2()


y

y





atan2f()






y


atan2l()






y


atanh()


y

y




P

atanhf()






y

P

atanhl()






y

P

atexit()


y

y





at_quick_exit()






y


atof()


y

y





atoi()


y

y





atol()


y

y





atoll()






y


basename()


y

y




P

bcmp()


y

y




P

bcopy()


y

y




P

brk()


x

x





bs2cmd()





x



bs2exit()





x



bs2fstat()





x



bs2system()





x
(system())



bsd_signal()


x

x





bsearch()


y

y





btowc()


y






bzero()


y

y




P

c16rtomb()






y


c32rtomb()






y


cabs()





x



calloc()


y

y





catclose()


x

x





catgets()


x

x





catopen()


x

x





cbrt()


y

y





cdisco()





x



ceil()


y

y





ceilf()






y


ceill()






y


cenaco()





x



cfgetispeed()


x

x





cfgetospeed()


x

x





cfsetispeed()


x

x





cfsetospeed()


x

x





chdir()


x

x





chmod()


x

x





chown()


x

x





chroot()


x

x





clearerr()


yd

yd





clock()


xa

xa





clock_gettime()


y






close()


yd

yd





closedir()


x

x





closelog()


x

x





compile()


x

x





confstr()


x

x





copysign()


y

y





copysignf()






y


copysignl()






y


cos()


y

y





cosf()






y


cosl()






y


cosh()


y

y





coshf()






y


coshl()






y


cputime()





x



creat()


yd

yd





crypt()


x

x





cstxit()





x



ctermid()


x

x





ctime_r()


y





P

ctime()


xa

xa





cuserid()


y

y




P

__DATE__



y





daylight


x

x





dbm_clearerr()


x

x





dbm_close()


x

x





dbm_delete()


x

x





dbm_error()


x

x





dbm_fetch()


x

x





dbm_firstkey()


x

x





dbm_nextkey()


x

x





dbm_open()


x

x





dbm_store()


x

x





difftime()


y

y





dirfd()

x







dirname()


x

x





div()


y

y





double2ieee()





x



drand48()


y

y




P

dup()


x

x





dup2()


x

x





ebcdic_to_ascii()




y



P

ecvt()


y

y





_edt()





x



encrypt()


x

x





endgrent()


x

x





endpwent()


x

x





endutxent()


x

x





environ


y

y





epoll_create()

x







epoll_ctl()

x







epoll_wait()

x







erand48()


y

y




P

erf()


y

y





erff()






y


erfl()






y


erfc()


y

y





erfcf()






y


erfcl()






y


errno


y

y





_e2a()






x


_e2a_dup()






x


_e2a_dup_n()






x


_e2a_max()






x


_e2a_n()






x


execl()


x

x





execle()


x

x





execlp()


x

x





execv()


x

x





execve()


x

x





execvp()


x

x





exit()


y

y





_exit()


y

y





_Exit()






y


exp()


y

y





expf()






y


expl()






y


exp2()






y


exp2f()






y


exp2l()






y


expm1()


y

y





expm1f()






y


expm1l()






y


fabs()


y

y





fabsf()






y


fabsl()






y


faccessat()


x






fattach()


x

x





fchdir()


x

x





fchmod()


x

x





fchmodat()


x






fchown()


x

x





fchownat()


x






fclose()


yd

yd





fcntl()


x

x





fcvt()


y

y





FD_CLR()



x





FD_ISSET()



x





FD_SET()



x





FD_ZERO()



x





fdelrec()





x



fdetach()


x

x





fdim()






y


fdimf()






y


fdiml()






y


fdopen()


yd

yd





fdopendir()


x






feof()


yd

yd





ferror()


yd

yd





fflush()


yd

yd





ffs()


y

y




P

fgetc()


yd

yd





fgetpos()


yd

yd





fgets()


yd

yd





fgetwc()


yd

yd





fgetws()


yd

yd





__FILE__



y





fileno()


yd

yd





float2ieee()





x



flocate()





x



flockfile()


y






floor()


y

y





floorf()






y


floorl()






y


fmax()






y


fmaxf()






y


fmaxl()






y


fmin()






y


fminf()






y


fminl()






y


fmod()


y

y





fmodf()






y


fmodl()






y


fmtmsg()


x

x





fnmatch()


x

x





fopen()


yd

yd





fork()


x

x





fpathconf()


x

x





fpclassify()






y

P

fprintf()


yd

yd





fputc()


yd

yd





fputs()


yd

yd





fputwc()


yd

yd





fputws()


yd

yd





fread()


yd

yd





free()


y

y





freopen()


yd

yd





frexp()


y

y





frexpf()






y


frexpl()






y


fscanf()


yd

yd





fseek()


yd

yd





fsetpos()


yd

yd





fstat()


xd

xd




P

fstatat()


x






fstatvfs()


x

x





fsync()


x

x





ftell()


yd

yd





ftello()


yd

yd





ftime()


xa

xa





ftok()


x

x





ftruncate()


x

x





ftrylockfile()


x






ftw()


x

x





funlockfile()


x






futimesat()


x






fwide()


y




x


fwprintf()


y




x


fwrite()


yd

yd





fwscanf()


y




x


gamma()


y

y





garbcoll()





x



gcvt()


y

y





getc_unlocked()


yd





P

getc()


yd

yd





getchar_unlocked()


yd





P

getchar()


yd

yd





getcontext()


y1)

y1)




P

getcwd()


x

x





getdate()


x

x





getdents()




x




getdtablesize()


x

x





getegid()


x

x





getenv()


y

y





geteuid()


x

x





getgid()


x

x





getgrent()


x

x





getgrgid_r()


x






getgrgid()


x

x





getgrnam_r()


x






getgrnam()


x

x





getgroups()


x

x





gethostid()


y

y




P

getitimer()


x

x





getlogin_r()


y





P

getlogin()


y

y





getmsg()


x

x





getopt()


y

y




P

getpagesize()


x

x





getpass()


x

x





getpgid()


x

x





getpgmname()




y




getpgrp()


x

x





getpid()


x

x





getpmsg()


x

x





getppid()


x

x





getpriority()


x

x





getpwent()


x

x





getpwnam_r()


x






getpwnam()


x

x





getpwuid_r()


x






getpwuid()


x

x





getrlimit()


x

x





getrusage()


x

x





gets()


yd

yd





getsid()


x

x





getsubopt()


y

y




P

gettimeofday()


y

y




P

gettsn()





x



getuid()


x

x





getutxent()


x

x





getutxid()


x

x





getutxline()


x

x





getw()


yd

yd





getwc


yd

yd





getwchar()


yd

yd





getwd()


x

x





glob()


x

x





gmatch()




y



P

gmtime_r()


xa





P

gmtime()


xa

xa





grantpt()


x

x





hcreate()


x

x





hdestroy()


x

x





hsearch()


x

x





hypot()


y

y





hypotf()






y


hypotl()






y


iconv_close()


x

x





iconv_open()


x

x





iconv()


x

x





ieee2double()





x



ieee2float()





x



ilogb()


y

y




P

ilogbf()






y

P

ilogbl()






y

P

imaxabs()






y


imaxdiv()






y


index()


y

y





initgroups()




x




initstate()


y

y




P

insque()


y

y




P

ioctl()


x

x





isalnum()


y

y





isalpha()


y

y





isascii()


y

y





isastream()


x

x





isatty()


x

x





iscntrl()


y

y





isdigit()


y

y





isebcdic()





x



isgraph()


y

y





islower()


y

y





isnan()


x

x





isprint()


y

y





ispunct()


y

y





isspace()


y

y





isupper()


y

y





iswalnum()


y

y





iswalpha()


y

y





iswcntrl()


y

y





iswctype()


y

y





iswdigit()


y

y





iswgraph()


y

y





iswlower()


y

y





iswprint()


y

y





iswpunct()


y

y





iswspace()


y

y





iswupper()


y

y





iswxdigit()


y

y





isxdigit()


y

y





j0()


y

y





j1()


y

y





jn()


y

y





jrand48()


y

y




P

kill()


xa

xa





killpg()


x

x





l64a()


y

y




P

labs()


y

y





lchown()


x

x





lcong48()


y

y




P

ldexp()


y

y





ldexpf()






y

P

ldexpl()






y

P

ldiv()


y

y





lfind()


x

x





lgamma()


y

y





lgammaf()






y


lgammaf()






y


__LINE__



y





link()


x

x





linkat()


x






llabs()






y


lldiv()






y


llrint()






y


llrintf()






y


llrintl()






y


llround()






y


llroundf()






y


llroundl()






y


loc1


x

x





loc2


x

x





localeconv()


y

y





localtime_r()


xa





P

localtime()


xa

xa





lockf()


x

x





locs


x

x





log()


y

y





logf()






y


logl()






y


log10()


y

y





log10f()






y


log10l()






y


log1p()


y

y





log1pf()






y


log1pl()






y


log2()






y


log2f()






y


log2l()






y


logb()


y

y




P

logbf()






y

P

logblf()






y

P

longjmp()


y

y





_longjmp()


y

y




P

lrand48()


y

y




P

lrint()






y


lrintf()






y


lrintl()






y


lround()






y


lroundf()






y


lroundl()






y


lsearch()


x

x





lseek()


yd

yd





lstat()


x

x





major()




x




makecontext()


y1)

y1)




P

makedev()




x




malloc()


y

y





mblen()


y

y





mbrlen()


y




y


mbrtoc16()






y


mbrtoc32()






y


mbrtowc()


y




y


mbsinit()


y




y


mbsrtowcs()


y




y


mbstowcs()


y

y





mbtowc()


y

y





memalloc()





x



memccpy()


y

y




P

memchr()


y

y





memcmp()


y

y





memcpy()


y

y





memfree()





x



memmove()


y

y





memset()


y

y





minor()




x




mkdir()


x

x





mkdirat()


x






mkfifo()


x

x





mkfifoat()


x






mknod()


x

x





mknodat()


x






mkstemp()


x

x





mktemp()


xa

xa





mktime()


xa

xa





mmap()


x

x





modf()


y

y





modff()






y


modfl()






y


mount()




x




mprotect()


x

x





mrand48()


y

y




P

msgctl()


x

x





msgget()


x

x





msgrcv()


x

x





msgsnd()


x

x





msync()


x

x





munmap()


x

x





nanosleep()


y






nearbyint()






y


nearbyintf()






y


nearbyintl()






y


nextafter()


y

y




P

nextafterf()






y

P

nextafterl()






y

P

nexttoward()






y

P

nexttowardf()






y

P

nexttowardl()






y

P

nftw()


x

x





nice()


x

x





nl_langinfo()


x

x





nrand48()


y

y




P

offsetof()





x



open()


yd

yd





openat()


x






opendir()


x

x





openlog()


x

x





optarg


y

y




P

opterr


y

y




P

optind


y

y




P

optopt


y

y




P

pathconf()


x

x





pause()


x

x





pclose()


x

x





perror()


yd

yd





pipe()


x

x





poll()


x

x





popen()


x

x





pow()


y

y





powf()






y


powl()






y


printf()


yd

yd





ptsname()


x

x





putc_unlocked()


yd





P

putc()


yd

yd





putchar_unlocked()


yd





P

putchar()


yd

yd





putenv()


y

y





putmsg()


x

x





putpmsg()


x

x





putpwent()




x




puts()


yd

yd





pututxline()


x

x





putw()


yd

yd





putwc()


yd

yd





putwchar()


yd

yd





qsort()


y

y





quick_exit()






y


raise()


xa

xa





rand_r()


y





P

rand()


y

y





random()


y

y




P

re_cmp()


x

x





re_exec()


x

x





read()


yd

yd





readdir_r()


x






readdir()


x

x





readlink()


x

x





readlinkat()


x






readv()


x

x





realloc()


y

y





realpath()


x

x





regcmp()


x

x





regcomp()


x






regerror()


x






regex()


x

x





regexec()


x






regfree()


x






remainder()


y

y




P

remainderf()






y

P

remainderl()






y

P

remove()


yd

yd





remque()


y

y




P

remquo()






y

P

remquof()






y

P

remquol()






y

P

rename()


yd

yd





renameat()


x






rewind()


yd

yd





rewinddir()


x

x





rindex()


y

y





rint()


y

y





rintf()






y


rintl()






y


rmdir()


x

x





round()






y


roundf()






y


roundl()






y


sbrk()


x

x





scalb()


y

y




P

scalbn()






y

P

scalbnf()






y

P

scalbnl()






y

P

scalbln()






y

P

scalblnf()






y

P

scalblnl()






y

P

scanf()


yd

yd





seed48()


y

y




P

seekdir()


x

x





select()


x

x





semctl()


x

x





semget()


x

x





semop()


x

x





setbuf()


yd

yd





setcontext()


y1)

y1)




P

setenv()

y







setgid()


x

x





setgrent()


x

x





setgroups()

x







setitimer()


x

x





setjmp()


y

y





_setjmp


y

y




P

setkey()


x

x





setlocale()


xa

xa





setlogmask()


x

x





setpgid()


x

x





setpgrp()


x

x





setpriority()


x

x





setpwent()


x

x





setregid()


x

x





setreuid()


x

x





setrlimit()


x

x





setsid()


x

x





setstate()


y

y




P

setuid()


x

x





setutxent()


x

x





setvbuf()


yd

yd





shmat()


x

x





shmctl()


x

x





shmdt()


x

x





shmget()


x

x





sigaction()


x

x





sigaddset()


x

x





sigdelset()


x

x





sigemptyset()


x

x





sigfillset()


x

x





sighold()


x

x





sigignore()


x

x





siginterrupt()


x

x





sigismember()


x

x





siglongjmp()


x

x





signal()


xa

xa





signalstack()


x

x





signbit()






y


signgam


y

y





sigpause()


x

x





sigpending()


x

x





sigprocmask()


x

x





sigrelse()


x

x





sigset()


x

x





sigsetjmp()


x

x





sigstack()


x

x





sigsuspend()


x

x





sin()


y

y





sinf()






y


sinl()






y


sinh()


y

y





sinhf()






y


sinhl()






y


sleep()


xa

xa





snprintf()






y


sprintf()


y

y





sqrt()


y

y





sqrtf()






y


sqrtl()






y


srand()


y

y





srand48()


y

y




P

srandom()


y

y




P

sscanf()


y

y





stat()


xd

xd




P

statvfs()


x

x





__STDC__



y





__STDC_VERSION__






y


stderr


y

y





stdin


y

y





stdout


y

y





step()


x

x





strcasecmp()


y

y




P

strcat()


y

y





strchr()


y

y





strcmp()


y

y





strcoll()


xa

xa





strcpy()


y

y





strcspn()


y

y





strdup()


y

y




P

strerror()


y

y





strfill()





x



strfmon()


y

y




P

strftime()


xa

xa





strlen()


y

y





strlower()





x



strncasecmp()


y

y




P

strncat()


y

y





strncmp()


y

y





strncpy()


y

y





strnlen()

y







strpbrk()


y

y





strrchr()


y

y





strspn()


y

y





strstr()


y

y





strtod()


xa

xa





strtof()






y


strtoimax()






y


strtok_r()


y





P

strtok()


y

y





strtol()


y

y





strtold()






y


strtoll()






y


strtoul()


y

y





strtoull()






y


strtoumax()






y


strupper()





x



strxfrm()


xa

xa





swab()


y

y




P

swapcontext()


y1)

y1)




P

swprintf()


y




y


swscanf()


y




y


symlink()


x

x





symlinkat()


x






sync()


x

x





sysconf()


x

x





sysfs()




x




syslog()


x

x





system()


xa

xa





tan()


y

y





tanf()






y


tanl()






y


tanh()


y

y





tanhf()






y


tanhl()






y


tcdrain()


x

x





tcflow()


x

x





tcflush()


x

x





tcgetattr()


x

x





tcgetpgrp()


x

x





tcgetsid()


x

x





tcsendbreak()


x

x





tcsetattr()


x

x





tcsetpgrp()


x

x





tdelete()


x

x





tell()





x



telldir()


x

x





tempnam()


x

x





tfind()


x

x





tgamma()






y


tgammaf()






y


tgammal()






y


__TIME__



y





time()


xa

xa





times()


x

x





timezone


x

x





tmpfile()


yd

yd





tmpnam()


yd

yd





toascii()


y

y





toebcdic()





x



tolower()


xa

xa





_tolower()


y

y




P

toupper()


xa

xa





_toupper()


y

y




P

towctrans()


y




y


towlower()


y

y





towupper()


y

y





trunc()






y


truncf()






y


truncl()






y


truncate()


x

x





tsearch()


x

x





ttyname_r()


x






ttyname()


x

x





ttyslot()


x

x





twalk()


x

x





tzname


x

x





tzset()


x

x





ualarm()


x

x





ulimit()


x

x





umask()


x

x





umount()




x




uname()


x

x





ungetc()


yd

yd





ungetwc()


y

y





unlink()


yd

yd





unlinkat()


x






unlockpt()


x

x





unsetenv()

y







usleep()


x

x





utime()


x

x





utimensat()


x






utimes()


x

x





va_arg()


y

y





va_end()


y

y





va_start()


y

y





valloc()


y

y




P

vfork()


x

x





vfprintf()


yd

yd





vfscanf()


yd

yd





vfwprintf


y




y


vfwscanf()


y




y


vprintf()


yd

yd





vscanf()


yd

yd





vsnprintf()


y



x



vsprintf()


y

y





vsscanf()


y

y





vswprintf()


y




y


vswscanf()


y




y


vwprintf()


y




y


vwscanf()


y




y


wait()


x

x





wait3()


x

x





waitid()


x

x





waitpid()


x

x





wcrtomb()


y






wcscat()



y





wcschr()



y





wcscmp()



y





wcscoll


y

y





wcscpy()


y

y





wcscspn()


y

y





wcsftime


y

y





wcslen()


y

y





wcsncat()


y

y





wcsncmp()


y

y





wcsncpy()


y

y





wcspbrk()


y

y



y


wcsrchr()


y

y



y


wcsrtombs()


y




y


wcsspn()


y

y





wcsstr()


y






wcstod()


y

y



y


wcstof()






y


wcstoimax()






y


wcstok()


y

y





wcstol()


y

y





wcstold()






y


wcstoll()






y


wcstombs()


y

y





wcstoul()


y

y





wcstoull()






y


wcstoumax()






y


wcswcs()


y

y




P

wcswidth()


y

y




P

wcsxfrm


y

y





wctob()


y




y


wctomb()


y

y





wctrans()


y




y


wctype()


y

y





wcwidth()


y

y




P

wmemchr()


y




y


wmemcmp()


y




y


wmemcpy()


y




y


wmemmove()


y




y


wmemset()


y




y


wprintf()


y




y


write()


yd

yd





writev()


x

x





wscanf()


y




y


y0()


y

y





y1()


y

y





yn()


y

y





1)

needs CRTE-Version >= V11.1A20 to run without POSIX functionality