package posix
- Alphabetic
- Public
- Protected
Type Members
- trait complex extends libc.complex
- Annotations
- @extern()
- trait ctype extends libc.ctype
- Annotations
- @extern()
- trait errno extends libc.errno
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_ERRNO")
- trait fenv extends libc.fenv
- Annotations
- @extern()
- trait float extends libc.float
- Annotations
- @extern()
- trait inttypes extends libc.inttypes
- Annotations
- @extern()
- trait math extends libc.math
- Annotations
- @extern()
- trait signal extends libc.signal
Some of the functionality described on this reference page extends the ISO C standard.
Some of the functionality described on this reference page extends the ISO C standard. Applications shall define the appropriate feature test macro (see XSH The Compilation Environment) to enable the visibility of these symbols in this header.
Use clib macros and functions to get the full POSIX interface
Note 1: The functionality described may be removed in a future version of this volume of POSIX.1-2017 Note 2: The functionality is an option marked as XSI (X/Open System Interfaces)
Note 1 or 2 followed by Linux or macOS means that the feature is not available on that platform with default compile options so the code is commented out. The code is commented out so the next developer that comes along will not have to rediscover these limitations.
- Annotations
- @extern()
- trait stddef extends libc.stddef
- Annotations
- @extern()
- trait stdint extends libc.stdint
- Annotations
- @extern()
- trait stdio extends libc.stdio
- Annotations
- @extern()
- trait stdlib extends libc.stdlib
posixlib stdlib is known to be incomplete.
posixlib stdlib is known to be incomplete. It contains the methods from the Open Group 2028 specification but, not yet, all of the declarations. For an incomplete example, he data types div_t, ldiv_t, lldiv_t returned by div() & ldiv and the constants described in sys/wait.h are not defined.
- Annotations
- @extern()
- trait string extends libc.string
- Annotations
- @extern()
- trait tgmath extends libc.tgmath
- trait time extends libc.time
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_TIME")
- trait wchar extends libc.wchar
- Annotations
- @extern()
Value Members
- object complex extends complex
- Annotations
- @extern()
- object cpio
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_CPIO")
- object ctype extends ctype
- Annotations
- @extern()
- object dirent
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_DIRENT")
- object dlfcn
POSIX dlfcn.h for Scala
POSIX dlfcn.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @link("dl") @extern() @define("__SCALANATIVE_POSIX_DLFCN")
- object errno extends errno
- Annotations
- @extern()
- object fcntl
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_FCNTL")
- object fcntlOps
- object fenv extends fenv
- Annotations
- @extern()
- object float extends float
- Annotations
- @extern()
- object fnmatch
POSIX fnmatch.h for Scala
POSIX fnmatch.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_FNMATCH")
- object glob
POSIX glob.h for Scala
POSIX glob.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_FNMATCH")
- object globOps
- object grp
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_GRP")
- object inttypes extends inttypes
POSIX inttypes.h for Scala
POSIX inttypes.h for Scala
The <inttypes.h> header shall include the <stdint.h> header.
- Annotations
- @extern()
- object langinfo
POSIX langinfo.h for Scala
POSIX langinfo.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_LANGINFO")
- object libgen
POSIX libgen.h for Scala
POSIX libgen.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
A method with an XSI comment indicates it is defined in extended POSIX X/Open System Interfaces, not base POSIX.
- Annotations
- @extern()
- object limits
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_LIMITS")
- object locale extends locale
POSIX locale.h for Scala
POSIX locale.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
All declarations which do not have a more specific extension specifier are described by POSIX as being a CX extension.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_LOCALE")
- object localeOps
- object math extends math
- Annotations
- @extern()
- object monetary
POSIX monetary.h for Scala
POSIX monetary.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern()
- object netdb
netdb.h for Scala
netdb.h for Scala
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_NETDB")
- See also
https://scala-native.readthedocs.io/en/latest/lib/posixlib.html
- object netdbOps
Allow using C names to access 'addrinfo' structure fields.
- object nl_types
POSIX nl_types.h for Scala
POSIX nl_types.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_NL_TYPES")
- object poll
- Annotations
- @extern()
- object pollEvents
- object pollOps
- object pthread
- Annotations
- @link("pthread") @define("__SCALANATIVE_POSIX_PTHREAD") @extern()
- object pwd
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_PWD")
- object pwdOps
- object regex
- Annotations
- @extern()
- object sched
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SCHED")
- object schedOps
- object signal extends signal
- Annotations
- @extern()
- object signalOps
- object spawn
POSIX spawn.h for Scala
POSIX spawn.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
A method with a PS comment indicates it is defined in POSIX extension "Process Scheduling", not base POSIX.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SPAWN")
- object stddef extends stddef
- Annotations
- @extern()
- object stdint extends stdint
- Annotations
- @extern()
- object stdio extends stdio
- Annotations
- @extern()
- object stdlib extends stdlib
POSIX stdlib.h for Scala
POSIX stdlib.h for Scala
Some of the functionality described on this reference page extends the ISO C standard. Applications shall define the appropriate feature test macro (see XSH The Compilation Environment ) to enable the visibility of these symbols in this header.
Extension to the ISO C standard: The functionality described is an extension to the ISO C standard. Application developers may make use of an extension as it is supported on all POSIX.1-2017-conforming systems.
All the methods declared in this file and not libc.stdlib are Open Group extensions to the ISO/IEC C standard.
A method with an XSI comment indicates it is defined in extended POSIX X/Open System Interfaces, not base POSIX.
A method with an ADV comment indicates it Open Group 2018 "Advisory Information" meaning, from the specification: "The functionality described is optional. The functionality described is also an extension to the ISO C standard."
- Annotations
- @extern()
- object string extends string
POSIX string.h for Scala
POSIX string.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
A method with a CX comment indicates it is a POSIX extension to the ISO/IEEE C standard.
A method with an XSI comment indicates it is defined in extended POSIX X/Open System Interfaces, not base POSIX.
- Annotations
- @extern()
- object strings
POSIX strings.h for Scala
POSIX strings.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
A method with an XSI comment indicates it is defined in extended POSIX X/Open System Interfaces, not base POSIX.
- Annotations
- @extern()
- object syslog
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYSLOG")
- object termios
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_TERMIOS")
- object tgmath extends tgmath
- object time extends time
- Annotations
- @extern()
- object timeOps
- object timer
- Annotations
- @extern()
- object timerOps
- object unistd
unistd.h for Scala
unistd.h for Scala
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_UNISTD")
- See also
https://scala-native.readthedocs.io/en/latest/lib/posixlib.html
- object utime
- Annotations
- @extern()
- object wchar extends wchar
- Annotations
- @extern()
- object wordexp
POSIX wordexp.h for Scala
POSIX wordexp.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_WORDEXP")
- object wordexpOps