OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getopt
(Results
1 - 25
of
694
) sorted by relevancy
1
2
3
4
5
6
7
8
9
10
11
>>
/src/tests/usr.bin/xlint/lint1/
msg_339.c
8
int
getopt
(int, char *const *, const char *);
18
while ((o =
getopt
(argc, argv, "a:bc:d")) != -1) {
25
* for the
getopt
options.
37
* ignored by the check for
getopt
options.
msg_338.c
8
int
getopt
(int, char *const *, const char *);
18
while ((o =
getopt
(argc, argv, "a:bc:d")) != -1) {
25
* for the
getopt
options.
37
* ignored by the check for
getopt
options.
50
/* A while loop that is not related to
getopt
is simply skipped. */
74
while ((c =
getopt
(argc, argv, "?x")) != -1) {
90
* If the first character of the options string is ':',
getopt
does not print
91
* its own error messages.
Getopt
returns ':' if an option is missing its
100
while ((c =
getopt
(argc, argv, ":b:o")) != -1) {
112
* If the first character of the options string is ':',
getopt
returns ':
[
all
...]
/src/usr.bin/getopt/
Makefile
3
PROG =
getopt
getopt.c
1
/* $NetBSD:
getopt
.c,v 1.8 2006/07/09 21:39:48 wiz Exp $ */
10
__RCSID("$NetBSD:
getopt
.c,v 1.8 2006/07/09 21:39:48 wiz Exp $");
24
while ((c =
getopt
(argc, argv, argv[1])) != -1)
27
status = 1; /*
getopt
routine gave message */
/src/tools/compat/
compat_getopt.h
3
/* We unconditionally use the NetBSD
getopt
.h in libnbcompat. */
6
#include <
getopt
.h>
17
#include "../../include/
getopt
.h"
/src/games/hangman/
main.c
60
while ((ch =
getopt
(argc, argv, "d:m:")) != -1) {
/src/usr.bin/dirname/
dirname.c
62
while ((ch =
getopt
(argc, argv, "")) != -1)
/src/usr.bin/logname/
logname.c
61
while ((ch =
getopt
(argc, argv, "")) != -1)
/src/usr.bin/msgc/
msgmain.c
66
while ( (ch =
getopt
(argc, argv, "o:")) != -1 ) {
/src/usr.bin/netgroup/
netgroup.c
54
while ((c =
getopt
(argc, argv, "hud")) != -1)
/src/usr.bin/tty/
tty.c
58
while ((ch =
getopt
(argc, argv, "s")) != -1) {
/src/usr.sbin/accton/
accton.c
61
while ((ch =
getopt
(argc, argv, "")) != -1)
/src/games/hals_end/
hals_end.c
8
#include <
getopt
.h>
129
while ((ch =
getopt
(argc, argv, "f")) != -1) {
/src/tests/lib/libc/stdlib/
t_getopt.sh
50
atf_test_case
getopt
53
atf_set "descr" "Checks
getopt
(3)"
71
atf_set "descr" "Checks
getopt
(3) with optional value"
133
atf_add_test_case
getopt
/src/bin/pax/
getoldopt.c
4
* Plug-compatible replacement for
getopt
() for parsing tar-like
5
* arguments. If the first argument begins with "-", it uses
getopt
;
24
#include <
getopt
.h>
68
return
getopt
(argc, argv, optstring);
/src/bin/domainname/
domainname.c
64
while ((ch =
getopt
(argc, argv, "")) != -1) {
/src/bin/hostname/
hostname.c
64
while ((ch =
getopt
(argc, argv, "s")) != -1)
/src/distrib/utils/more/
option.c
75
optind = 1; /* called twice, re-init
getopt
. */
76
while ((ch =
getopt
(argc, argv, "0123456789/:ceinst:ux:f")) != -1)
/src/games/trek/
main.c
175
while ((ch =
getopt
(argc, argv, "fst")) != -1) {
/src/libexec/rexecd/unit-tests/
rexec.c
56
while ((c =
getopt
(argc, argv, "h:u:p:c:")) != -1)
/src/sbin/nvmectl/
reset.c
65
while ((ch =
getopt
(argc, argv, "")) != -1) {
/src/sys/external/bsd/acpica/dist/generate/unix/acpixtract/
Makefile
33
$(OBJDIR)/
getopt
.o\
/src/usr.bin/hexdump/
hexsyntax.c
64
while ((ch =
getopt
(argc, argv, "bcCde:f:n:os:vx")) != -1)
/src/usr.bin/innetgr/
innetgr.c
58
while ((c =
getopt
(argc, argv, "h:u:d:v")) != -1)
/src/usr.bin/mkfifo/
mkfifo.c
71
while ((ch =
getopt
(argc, argv, "m:")) != -1)
Completed in 23 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>
Indexes created Sun Oct 12 09:09:55 GMT 2025