Package

scala.scalanative.posix

sys

Permalink

package sys

Visibility
  1. Public
  2. All

Value Members

  1. object ioctl

    Permalink
    Annotations
    @extern()
  2. object mman

    Permalink
    Annotations
    @extern()
  3. object resource

    Permalink
    Annotations
    @extern()
  4. object resourceOps

    Permalink
  5. object select

    Permalink

    POSIX select.h for Scala

    POSIX select.h for Scala

    Annotations
    @extern()
    See also

    The Open Group Base Specifications Issue 7, 2018 edition.

  6. object socket

    Permalink
    Annotations
    @extern()
  7. object socketOps

    Permalink
  8. object stat

    Permalink
    Annotations
    @extern()
  9. object statvfs

    Permalink
    Annotations
    @extern()
  10. object time

    Permalink
    Annotations
    @extern()
  11. object timeOps

    Permalink
  12. object types

    Permalink
    Annotations
    @extern()
  13. object uio

    Permalink
    Annotations
    @extern()
  14. object uname

    Permalink
  15. object utsname

    Permalink
    Annotations
    @extern()
  16. object wait

    Permalink

    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()

Ungrouped