Search results
Results from the WOW.Com Content Network
getopt is a system dependent function, and its behavior depends on the implementation in the C library. Some custom implementations like gnulib are available, however. [6]The conventional (POSIX and BSD) handling is that the options end when the first non-option argument is encountered, and that getopt would return -1 to signal that.
The Linux enhanced version of getopt has the extra safety of getopts plus more advanced features. It supports long option names (e.g. --help) and the options do not have to appear before all the operands (e.g. command operand1 operand2 -a operand3 -b is permitted by the Linux enhanced version of getopt but does not work with getopts).
BusyBox is a software suite that provides several Unix utilities in a single executable file.It runs in a variety of POSIX environments such as Linux, Android, [8] and FreeBSD, [9] although many of the tools it provides are designed to work with interfaces provided by the Linux kernel.