Skip to content

cstdlib

Isaac Shelton edited this page Sep 12, 2023 · 7 revisions

cstdlib

2.7/cstdlib.adept

The functions defined are variants of functions from sys/cstdlib.adept, but have been made to work with String values instead of C-Strings or have been made to work with additional numeric types.

Additional Functions

  • func atof(string String) double
  • func atoi(string String) int
  • func atol(string String) long
  • func atoll(string String) long
  • func strtod(string String) double
  • func strtof(string String) float
  • func strtol(string String) long
  • func strtoll(string String) long
  • func strtoul(string String) ulong
  • func strtoull(string String) ulong
  • func abs(value $T~__number__) $T
  • func getenv(name String) String
  • func getenv(name String, out result *String) successful
  • func system(command String) int

Other Symbols

Other symbols are imported indirectly from sys/cstdlib.adept

Clone this wiki locally