Namespace Perlang.Stdlib
Classes
Argv
"Argument vector". This class serves as a container for arguments passed to the program at run time.
To read the next available argument, use the Pop() method. Example: ARGV.pop()
.
Base64
Provides support for encoding and decoding base64-encoded content.
See https://en.wikipedia.org/wiki/Base64 for more details on the base64 encoding.
Libc
Provides support for calling standard C library functions.
This class supplements see Posix class by implementing support for functions available on all supported platforms.
Posix
Provides support for calling standard POSIX functions.
The method names are deliberately using "POSIX-style", i.e. short, C-oriented names for methods like getuid
,
getpid
and so forth. This is to make it simple for people with experience from POSIX-based systems to find the
method they are looking for.
This class only contains POSIX-specific functions, i.e. functions available on POSIX-compliant systems like BSD, GNU/Linux and macOS, but not available on Windows. For C functions available on all supported platforms, see the list below.
Code which uses this class will only run on POSIX-compliant systems. If an attempt to use these methods is made on Windows, a compile-time error is emitted.