Available on Linux or Android or FreeBSD or DragonFly BSD or NetBSD or OpenBSD or Cygwin or Solaris or illumos or Emscripten or Haiku or HermitCore or L4Re or Fuchsia or Redox or
target_os=vxworks or target_os=horizon or target_os=aix or target_os=nto or target_os=hurd or target_os=rtems or target_os=nuttx only.Staticsยง
- ARGC ๐
- ARGV ๐
- ARGV_
INIT_ ๐ARRAY Linux and GNU - glibc passes argc, argv, and envp to functions in .init_array, as a non-standard extension.
This allows
std::env::argsto work even in acdylib, as it does on macOS and Windows.
Functionsยง
- argc_
argv - initโ
- really_
init ๐ โ