trait stdlib extends libc.stdlib

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()
Linear Supertypes
libc.stdlib, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. stdlib
  2. stdlib
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def EXIT_FAILURE: CInt
    Definition Classes
    stdlib
    Annotations
    @name("scalanative_exit_failure")
  5. def EXIT_SUCCESS: CInt
    Definition Classes
    stdlib
    Annotations
    @name("scalanative_exit_success")
  6. def RAND_MAX: CInt
    Definition Classes
    stdlib
    Annotations
    @name("scalanative_rand_max")
  7. def _Exit(exitCode: CInt): Unit
    Definition Classes
    stdlib
  8. def a64l(str64: CString): CLong

    XSI

  9. def abort(): Unit
    Definition Classes
    stdlib
  10. def aligned_alloc(alignment: Long, size: Long): Unit
    Definition Classes
    stdlib
  11. def aligned_alloc(alignment: Int, size: Int): Unit
    Definition Classes
    stdlib
  12. def aligned_alloc(alignment: CSize, size: CSize): Unit
    Definition Classes
    stdlib
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. def at_quick_exit(func: CFuncPtr0[Unit]): CInt
    Definition Classes
    stdlib
  15. def atexit(func: CFuncPtr0[Unit]): CInt
    Definition Classes
    stdlib
  16. def atof(str: CString): CDouble
    Definition Classes
    stdlib
  17. def atoi(str: CString): CInt
    Definition Classes
    stdlib
  18. def atol(str: CString): CLong
    Definition Classes
    stdlib
  19. def atoll(str: CString): CLongLong
    Definition Classes
    stdlib
  20. def bsearch(key: CVoidPtr, data: CVoidPtr, num: Int, size: Int, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
    Definition Classes
    stdlib
  21. def bsearch(key: CVoidPtr, data: CVoidPtr, num: CSize, size: CSize, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
    Definition Classes
    stdlib
  22. def calloc(num: Long, size: Long): Ptr[Byte]
    Definition Classes
    stdlib
  23. def calloc(num: Int, size: Int): Ptr[Byte]
    Definition Classes
    stdlib
  24. def calloc(num: CSize, size: CSize): Ptr[Byte]
    Definition Classes
    stdlib
  25. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  26. def drand48(): Double

    XSI

  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. def erand48(xsubi: Ptr[CUnsignedShort]): Double

    XSI

  30. def exit(exitCode: CInt): Unit
    Definition Classes
    stdlib
  31. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  32. def free(ptr: CVoidPtr): Unit
    Definition Classes
    stdlib
  33. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  34. def getenv(name: CString): CString
    Definition Classes
    stdlib
  35. def getsubopt(optionp: Ptr[CString], tokens: Ptr[CString], valuep: Ptr[CString]): CInt
  36. def grantpt(fd: CInt): CInt

    XSI

  37. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  38. def initstate(seed: CUnsignedInt, state: Ptr[CChar], size: size_t): Ptr[CChar]

    XSI

  39. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  40. def jrand48(xsubi: Ptr[CUnsignedShort]): CLong

    XSI

  41. def l64a(value: CLong): CString

    XSI

  42. def lcong48(param: Ptr[CUnsignedShort]): Unit

    XSI

  43. def lrand48(): CLong

    XSI

  44. def malloc(size: Long): Ptr[Byte]
    Definition Classes
    stdlib
  45. def malloc(size: Int): Ptr[Byte]
    Definition Classes
    stdlib
  46. def malloc(size: CSize): Ptr[Byte]
    Definition Classes
    stdlib
  47. def mkdtemp(template: CString): CString
  48. def mkstemp(template: CString): CInt
  49. def mrand48(): CLong

    XSI

  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  52. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  53. def nrand48(xsubi: Ptr[CUnsignedShort]): CLong

    XSI

  54. def posix_memalign(memptr: Ptr[CVoidPtr], alignment: size_t, size: size_t): CInt

    ADV

  55. def posix_openpt(flags: CInt): CInt

    XSI

  56. def ptsname(fd: CInt): CString

    XSI

  57. def putenv(string: CString): CInt

    XSI

  58. def qsort[T](data: Ptr[T], num: Int, size: Int, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
    Definition Classes
    stdlib
  59. def qsort[T](data: Ptr[T], num: CSize, size: CSize, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
    Definition Classes
    stdlib
  60. def quick_exit(exitCode: CInt): Unit
    Definition Classes
    stdlib
  61. def rand(): CInt
    Definition Classes
    stdlib
  62. def random(): CLong

    XSI

  63. def realloc[T](ptr: Ptr[T], newSize: Long): Ptr[T]
    Definition Classes
    stdlib
  64. def realloc[T](ptr: Ptr[T], newSize: Int): Ptr[T]
    Definition Classes
    stdlib
  65. def realloc[T](ptr: Ptr[T], newSize: CSize): Ptr[T]
    Definition Classes
    stdlib
  66. def realpath(path: CString, resolved_path: CString): CString

    XSI

  67. def seed48(seed16v: Ptr[CUnsignedShort]): Ptr[CUnsignedShort]

    XSI

  68. def setenv(name: CString, value: CString, overwrite: CInt): CInt
  69. def setkey(key: CString): Unit

    XSI

  70. def setstate(state: Ptr[CChar]): Ptr[CChar]

    XSI

  71. def srand(seed: Int): Unit
    Definition Classes
    stdlib
  72. def srand(seed: CUnsignedInt): Unit
    Definition Classes
    stdlib
  73. def srand48(seedval: CLong): Unit

    XSI

  74. def srandom(seed: CUnsignedInt): Unit

    XSI

  75. def strtod(str: CString, str_end: Ptr[CString]): CDouble
    Definition Classes
    stdlib
  76. def strtof(str: CString, str_end: Ptr[CString]): CFloat
    Definition Classes
    stdlib
  77. def strtol(str: CString, str_end: Ptr[CString], base: CInt): CLong
    Definition Classes
    stdlib
  78. def strtoll(str: CString, str_end: Ptr[CString], base: CInt): CLongLong
    Definition Classes
    stdlib
  79. def strtoul(str: CString, str_end: Ptr[CString], base: CInt): CUnsignedLong
    Definition Classes
    stdlib
  80. def strtoull(str: CString, str_end: Ptr[CString], base: CInt): CUnsignedLongLong
    Definition Classes
    stdlib
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def system(command: CString): CInt
    Definition Classes
    stdlib
  83. def toString(): String
    Definition Classes
    AnyRef → Any
  84. def unlockpt(fd: CInt): CInt

    XSI

  85. def unsetenv(name: CString): CInt
  86. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from libc.stdlib

Inherited from AnyRef

Inherited from Any

Ungrouped