package sys
- Alphabetic
- Public
- Protected
Value Members
- object ioctl
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_IOCTL")
- object mman
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_MMAN")
- object resource
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_RESOURCE")
- object resourceOps
- object select
POSIX select.h for Scala
POSIX select.h for Scala
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_SELECT")
- See also
The Open Group Base Specifications Issue 7, 2018 edition.
- object socket
socket.h for Scala
socket.h for Scala
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_SOCKET")
- See also
https://scala-native.readthedocs.io/en/latest/lib/posixlib.html
- object socketOps
Allow using C names to access socket structure fields.
- object stat
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_STAT")
- object statOps
- object statvfs
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_STATVFS")
- object sysinfo
- Annotations
- @extern()
- object time
- Annotations
- @extern()
- object timeOps
- object times
POSIX sys/times.h for Scala
POSIX sys/times.h for Scala
The Open Group Base Specifications Issue 7, 2018 edition.
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_TIMES")
- object timesOps
Allow using C names to access tms structure fields.
- object types
- Annotations
- @extern()
- object uio
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_UIO")
- object uioOps
- object un
POSIX sys/un.h for Scala
POSIX sys/un.h for Scala
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_UN")
- object unOps
Allow using C names to access socket_un structure fields.
- object utsname
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_UTSNAME")
- object utsnameOps
- object wait
POSIX wait.h for Scala
POSIX wait.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.
Note well: It is neither expect nor obvious from the declaration that the wait() method of this class can conflict with Object.wait(Long). This makes declaration and usage more difficult.
The simplest approach is to avoid "wait(Ptr[CInt])" and use the directly equivalent idiom: // import scala.scalanative.posix.sys.wait.waitpid // or sys.wait._ // Replace Ptr[CInt] with your variable. val status = waitpid(-1, Ptr[CInt], 0)
If that approach is not available, one can try the following idiom: // import scalanative.posix.sys.{wait => Wait} // import scalanative.posix.sys.wait._ // for WIFEXITED etc. // Replace Ptr[CInt] with your variable. val status = Wait.wait(Ptr[CInt])
- Annotations
- @extern() @define("__SCALANATIVE_POSIX_SYS_WAIT")