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
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- stdlib
- stdlib
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def EXIT_FAILURE: CInt
- Definition Classes
- stdlib
- Annotations
- @name("scalanative_exit_failure")
- def EXIT_SUCCESS: CInt
- Definition Classes
- stdlib
- Annotations
- @name("scalanative_exit_success")
- def RAND_MAX: CInt
- Definition Classes
- stdlib
- Annotations
- @name("scalanative_rand_max")
- def _Exit(exitCode: CInt): Unit
- Definition Classes
- stdlib
- def a64l(str64: CString): CLong
XSI
- def abort(): Unit
- Definition Classes
- stdlib
- def aligned_alloc(alignment: Long, size: Long): Unit
- Definition Classes
- stdlib
- def aligned_alloc(alignment: Int, size: Int): Unit
- Definition Classes
- stdlib
- def aligned_alloc(alignment: CSize, size: CSize): Unit
- Definition Classes
- stdlib
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def at_quick_exit(func: CFuncPtr0[Unit]): CInt
- Definition Classes
- stdlib
- def atexit(func: CFuncPtr0[Unit]): CInt
- Definition Classes
- stdlib
- def atof(str: CString): CDouble
- Definition Classes
- stdlib
- def atoi(str: CString): CInt
- Definition Classes
- stdlib
- def atol(str: CString): CLong
- Definition Classes
- stdlib
- def atoll(str: CString): CLongLong
- Definition Classes
- stdlib
- def bsearch(key: CVoidPtr, data: CVoidPtr, num: Int, size: Int, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
- Definition Classes
- stdlib
- def bsearch(key: CVoidPtr, data: CVoidPtr, num: CSize, size: CSize, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
- Definition Classes
- stdlib
- def calloc(num: Long, size: Long): Ptr[Byte]
- Definition Classes
- stdlib
- def calloc(num: Int, size: Int): Ptr[Byte]
- Definition Classes
- stdlib
- def calloc(num: CSize, size: CSize): Ptr[Byte]
- Definition Classes
- stdlib
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def drand48(): Double
XSI
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def erand48(xsubi: Ptr[CUnsignedShort]): Double
XSI
- def exit(exitCode: CInt): Unit
- Definition Classes
- stdlib
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def free(ptr: CVoidPtr): Unit
- Definition Classes
- stdlib
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getenv(name: CString): CString
- Definition Classes
- stdlib
- def getsubopt(optionp: Ptr[CString], tokens: Ptr[CString], valuep: Ptr[CString]): CInt
- def grantpt(fd: CInt): CInt
XSI
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def initstate(seed: CUnsignedInt, state: Ptr[CChar], size: size_t): Ptr[CChar]
XSI
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jrand48(xsubi: Ptr[CUnsignedShort]): CLong
XSI
- def l64a(value: CLong): CString
XSI
- def lcong48(param: Ptr[CUnsignedShort]): Unit
XSI
- def lrand48(): CLong
XSI
- def malloc(size: Long): Ptr[Byte]
- Definition Classes
- stdlib
- def malloc(size: Int): Ptr[Byte]
- Definition Classes
- stdlib
- def malloc(size: CSize): Ptr[Byte]
- Definition Classes
- stdlib
- def mkdtemp(template: CString): CString
- def mkstemp(template: CString): CInt
- def mrand48(): CLong
XSI
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def nrand48(xsubi: Ptr[CUnsignedShort]): CLong
XSI
- def posix_memalign(memptr: Ptr[CVoidPtr], alignment: size_t, size: size_t): CInt
ADV
- def posix_openpt(flags: CInt): CInt
XSI
- def ptsname(fd: CInt): CString
XSI
- def putenv(string: CString): CInt
XSI
- def qsort[T](data: Ptr[T], num: Int, size: Int, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
- Definition Classes
- stdlib
- def qsort[T](data: Ptr[T], num: CSize, size: CSize, comparator: CFuncPtr2[CVoidPtr, CVoidPtr, CInt]): Unit
- Definition Classes
- stdlib
- def quick_exit(exitCode: CInt): Unit
- Definition Classes
- stdlib
- def rand(): CInt
- Definition Classes
- stdlib
- def random(): CLong
XSI
- def realloc[T](ptr: Ptr[T], newSize: Long): Ptr[T]
- Definition Classes
- stdlib
- def realloc[T](ptr: Ptr[T], newSize: Int): Ptr[T]
- Definition Classes
- stdlib
- def realloc[T](ptr: Ptr[T], newSize: CSize): Ptr[T]
- Definition Classes
- stdlib
- def realpath(path: CString, resolved_path: CString): CString
XSI
- def seed48(seed16v: Ptr[CUnsignedShort]): Ptr[CUnsignedShort]
XSI
- def setenv(name: CString, value: CString, overwrite: CInt): CInt
- def setkey(key: CString): Unit
XSI
- def setstate(state: Ptr[CChar]): Ptr[CChar]
XSI
- def srand(seed: Int): Unit
- Definition Classes
- stdlib
- def srand(seed: CUnsignedInt): Unit
- Definition Classes
- stdlib
- def srand48(seedval: CLong): Unit
XSI
- def srandom(seed: CUnsignedInt): Unit
XSI
- def strtod(str: CString, str_end: Ptr[CString]): CDouble
- Definition Classes
- stdlib
- def strtof(str: CString, str_end: Ptr[CString]): CFloat
- Definition Classes
- stdlib
- def strtol(str: CString, str_end: Ptr[CString], base: CInt): CLong
- Definition Classes
- stdlib
- def strtoll(str: CString, str_end: Ptr[CString], base: CInt): CLongLong
- Definition Classes
- stdlib
- def strtoul(str: CString, str_end: Ptr[CString], base: CInt): CUnsignedLong
- Definition Classes
- stdlib
- def strtoull(str: CString, str_end: Ptr[CString], base: CInt): CUnsignedLongLong
- Definition Classes
- stdlib
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def system(command: CString): CInt
- Definition Classes
- stdlib
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unlockpt(fd: CInt): CInt
XSI
- def unsetenv(name: CString): CInt
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()