Defined in 3 files as a prototype:
Defined in 1 files as a member:
Defined in 9 files as a macro:
Defined in 1 files as a function:
Referenced in 277 files:
- bin/cat/cat.c, line 300
- bin/pkill/pkill.c, line 822
- bin/sh/show.c, 2 times
- cddl/compat/opensolaris/misc/fsshare.c, 3 times
- cddl/compat/opensolaris/misc/mnttab.c, 2 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c, 7 times
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c, line 2510
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_printf.c, 2 times
- cddl/contrib/opensolaris/lib/libzpool/common/kernel.c, line 962
- contrib/amd/amd/amfs_program.c, 4 times
- contrib/amd/amd/info_file.c, line 200
- contrib/amd/fsinfo/null_lex.c, line 1295
- contrib/binutils/bfd/aoutx.h, line 647
- contrib/binutils/bfd/bfdwin.c, line 161
- contrib/binutils/bfd/cache.c, 2 times
- contrib/binutils/binutils/ar.c, line 141
- contrib/binutils/binutils/bin2c.c, line 89
- contrib/binutils/binutils/strings.c, line 301
- contrib/blacklist/port/popenve.c, line 133
- contrib/bmake/job.c, line 209
- contrib/bmake/meta.c, 2 times
- contrib/bzip2/bzip2.c, 9 times
- contrib/bzip2/bzlib.c, line 1386
- contrib/compiler-rt/lib/profile/InstrProfilingFile.c, line 170
- contrib/compiler-rt/lib/profile/InstrProfilingPort.h, line 30
- contrib/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc, line 45
- contrib/dialog/tailbox.c, line 214
- contrib/dialog/ui_getc.c, 3 times
- contrib/dialog/util.c, 25 times
- contrib/diff/src/diff3.c, line 1224
- contrib/dma/spool.c, 2 times
- contrib/elftoolchain/ar/read.c, line 155
- contrib/elftoolchain/strings/strings.c, line 213
- contrib/flex/filter.c, 2 times
- contrib/gcc/gcov-io.c, line 532
- contrib/gcc/gcov.c, line 1807
- contrib/gcc/ggc-common.c, 2 times
- contrib/gcc/mips-tfile.c, line 4319
- contrib/gcc/system.h, line 105
- contrib/gcclibs/libcpp/system.h, line 97
- contrib/gcclibs/libmudflap/mf-hooks2.c, 4 times
- contrib/gcclibs/libmudflap/mf-runtime.h, line 156
- contrib/gdb/gdb/config/rs6000/xm-rs6000.h, line 83
- contrib/gdb/gdb/defs.h, line 1300
- contrib/gdb/gdb/event-top.c, line 1150
- contrib/gdb/gdb/gdbserver/server.c, line 58
- contrib/gdb/gdb/ser-pipe.c, line 99
- contrib/gdb/gdb/solib-svr4.c, line 343
- contrib/gdb/gdb/tui/tui-file.c, line 129
- contrib/gdb/gdb/ui-file.c, 2 times
- contrib/groff/src/devices/grodvi/dvi.cpp, line 964
- contrib/groff/src/devices/grolbp/lbp.cpp, line 155
- contrib/groff/src/devices/grolj4/lj4.cpp, line 692
- contrib/groff/src/devices/grops/ps.cpp, line 1865
- contrib/groff/src/libs/libbib/index.cpp, line 393
- contrib/groff/src/roff/troff/input.cpp, line 3982
- contrib/groff/src/utils/lookbib/lookbib.cpp, line 108
- contrib/groff/src/utils/pfbtops/pfbtops.c, line 202
- contrib/less/cmdbuf.c, 2 times
- contrib/less/filename.c, line 908
- contrib/libarchive/libarchive/archive_read_open_file.c, 3 times
- contrib/libarchive/libarchive/test/main.c, 2 times
- contrib/libarchive/libarchive/test/test_read_set_format.c, 2 times
- contrib/libarchive/test_utils/test_main.c, 2 times
- contrib/libpcap/savefile.c, 2 times
- contrib/libpcap/sf-pcap.c, line 79
- contrib/libreadline/examples/excallback.c, 2 times
- contrib/libreadline/input.c, 5 times
- contrib/libreadline/parens.c, line 132
- contrib/libreadline/rltty.c, 9 times
- contrib/libreadline/terminal.c, 3 times
- contrib/libstdc++/config/io/basic_file_stdio.cc, line 256
- contrib/libxo/libxo/libxo.c, line 626
- contrib/llvm/tools/lldb/source/Host/common/Editline.cpp, 3 times
- contrib/llvm/tools/lldb/source/Host/common/File.cpp, line 106
- contrib/ncurses/ncurses/base/lib_initscr.c, 3 times
- contrib/ncurses/ncurses/base/lib_mouse.c, line 411
- contrib/ncurses/ncurses/base/lib_newterm.c, 3 times
- contrib/ncurses/ncurses/base/lib_set_term.c, line 377
- contrib/ncurses/ncurses/tinfo/lib_baudrate.c, line 211
- contrib/ncurses/ncurses/tinfo/lib_tputs.c, 2 times
- contrib/ncurses/ncurses/tty/hashmap.c, 2 times
- contrib/ncurses/ncurses/tty/lib_mvcur.c, line 330
- contrib/ncurses/ncurses/tty/lib_tstp.c, line 270
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/h_fileactions.c, line 82
- contrib/netbsd-tests/lib/libc/gen/posix_spawn/t_fileactions.c, 8 times
- contrib/netbsd-tests/lib/libc/stdio/t_fflush.c, line 118
- contrib/ntp/adjtimed/adjtimed.c, 3 times
- contrib/ntp/lib/isc/log.c, line 1727
- contrib/ntp/lib/isc/unix/stdio.c, line 119
- contrib/ntp/libntp/msyslog.c, 2 times
- contrib/ntp/ntpd/refclock_hopfpci.c, 2 times
- contrib/ntp/ntpd/refclock_shm.c, 6 times
- contrib/ntp/ntpdc/ntpdc.c, 2 times
- contrib/ntp/ntpq/ntpq.c, 2 times
- contrib/ntp/sntp/libopts/makeshell.c, line 771
- contrib/nvi/common/recover.c, 5 times
- contrib/nvi/ex/ex_read.c, 2 times
- contrib/nvi/ex/ex_write.c, 2 times
- contrib/ofed/opensm/opensm/osm_console_io.c, 2 times
- contrib/ofed/opensm/opensm/osm_db_files.c, line 507
- contrib/ofed/opensm/opensm/osm_log.c, 5 times
- contrib/ofed/opensm/opensm/osm_sa.c, line 583
- contrib/openbsm/bin/auditd/auditd.c, line 451
- contrib/openbsm/libbsm/bsm_control.c, line 304
- contrib/openpam/lib/libpam/openpam_configure.c, line 363
- contrib/opie/opieftpd.c, 9 times
- contrib/opie/popen.c, line 196
- contrib/pf/authpf/authpf.c, 2 times
- contrib/pf/pflogd/pflogd.c, 4 times
- contrib/sendmail/libsm/smstdio.c, 2 times
- contrib/sendmail/src/conf.c, line 1275
- contrib/sqlite3/sqlite3.c, line 21970
- contrib/tcp_wrappers/rfc931.c, 4 times
- contrib/tcpdump/tcpdump.c, 3 times
- contrib/telnet/telnet/sys_bsd.c, 5 times
- contrib/tnftp/src/cmds.c, line 656
- contrib/tnftp/src/fetch.c, 3 times
- contrib/tnftp/src/ftp.c, 17 times
- contrib/tnftp/src/main.c, 2 times
- contrib/tnftp/src/progressbar.c, 5 times
- contrib/tnftp/src/ruserpass.c, 2 times
- contrib/tnftp/src/util.c, 4 times
- contrib/unbound/smallapp/unbound-anchor.c, 2 times
- contrib/unbound/validator/autotrust.c, line 1203
- contrib/wpa/src/utils/os_unix.c, 3 times
- contrib/xz/src/lzmainfo/lzmainfo.c, line 180
- contrib/xz/src/xz/private.h, 3 times
- contrib/xz/src/xzdec/xzdec.c, 2 times
- contrib/zlib/test/minigzip.c, 5 times
- crypto/heimdal/appl/ftp/ftp/ftp.c, 25 times
- crypto/heimdal/appl/ftp/ftp/main.c, 3 times
- crypto/heimdal/appl/ftp/ftp/ruserpass.c, 2 times
- crypto/heimdal/appl/ftp/ftp/security.c, 4 times
- crypto/heimdal/appl/ftp/ftpd/ftpcmd.c, line 3511
- crypto/heimdal/appl/ftp/ftpd/ftpd.c, 19 times
- crypto/heimdal/appl/ftp/ftpd/popen.c, 2 times
- crypto/heimdal/appl/ftp/ftpd/security.c, 4 times
- crypto/heimdal/appl/login/read_string.c, 3 times
- crypto/heimdal/appl/telnet/telnet/sys_bsd.c, 4 times
- crypto/heimdal/lib/asn1/lex.c, line 2280
- crypto/heimdal/lib/com_err/lex.c, line 1415
- crypto/heimdal/lib/hdb/print.c, line 278
- crypto/heimdal/lib/krb5/kuserok.c, line 62
- crypto/heimdal/lib/roken/cloexec.c, line 56
- crypto/heimdal/lib/roken/getusershell.c, line 153
- crypto/heimdal/lib/roken/iruserok.c, line 266
- crypto/heimdal/lib/sl/slc-lex.c, line 1352
- crypto/heimdal/lib/sqlite/sqlite3.c, line 15465
- crypto/openssh/auth.c, line 564
- crypto/openssh/clientloop.c, 32 times
- crypto/openssh/readconf.c, line 1763
- crypto/openssh/sftp.c, 3 times
- crypto/openssh/ssh.c, 4 times
- crypto/openssh/sshtty.c, 3 times
- crypto/openssl/apps/apps.c, 6 times
- crypto/openssl/crypto/bio/bio_lcl.h, line 29
- crypto/openssl/crypto/bio/bss_file.c, 3 times
- crypto/openssl/crypto/des/des.c, 2 times
- crypto/openssl/crypto/des/read_pwd.c, 3 times
- crypto/openssl/crypto/md2/md2.c, line 100
- crypto/openssl/crypto/md4/md4.c, line 102
- crypto/openssl/crypto/md5/md5.c, line 102
- crypto/openssl/crypto/rc4/rc4.c, 2 times
- crypto/openssl/crypto/ripemd/rmd160.c, line 102
- crypto/openssl/crypto/sha/sha.c, line 99
- crypto/openssl/crypto/sha/sha1.c, line 102
- crypto/openssl/crypto/ui/ui_openssl.c, 3 times
- crypto/openssl/engines/ccgost/gostsum.c, line 114
- gnu/usr.bin/rcs/lib/merger.c, line 138
- gnu/usr.bin/rcs/lib/rcsbase.h, line 304
- gnu/usr.bin/rcs/lib/rcsedit.c, 3 times
- gnu/usr.bin/rcs/lib/rcsutil.c, line 868
- gnu/usr.bin/rcs/rcs/rcs.c, 2 times
- lib/libc/gen/getutxent.c, line 80
- lib/libc/gen/popen.c, line 161
- lib/libc/net/rcmd.c, line 482
- lib/libc/resolv/res_init.c, line 331
- lib/libc/stdio/fileno.c, line 44
- lib/libc/tests/gen/popen_test.c, line 59
- lib/libc/tests/stdio/fopen_test.c, line 52
- lib/libcompat/4.3/rexec.c, 2 times
- lib/libedit/el.c, 6 times
- lib/libedit/history.c, line 804
- lib/libedit/readline.c, 2 times
- lib/libutil/login_auth.c, line 104
- libexec/atrun/atrun.c, line 203
- libexec/bootpd/readfile.c, line 367
- libexec/comsat/comsat.c, line 193
- libexec/ftpd/ftpd.c, 8 times
- libexec/ftpd/popen.c, 2 times
- libexec/rbootd/rbootd.c, 3 times
- libexec/ypxfr/ypxfr_main.c, line 179
- release/picobsd/tinyware/help/help.c, line 52
- release/picobsd/tinyware/login/pico-login.c, line 973
- sbin/camcontrol/modeedit.c, line 773
- sbin/dhclient/dhclient.c, 4 times
- sbin/dump/itime.c, 2 times
- sbin/dump/tape.c, line 614
- sbin/ipfw/main.c, line 550
- sbin/pfctl/pfctl.c, line 1582
- sbin/rcorder/rcorder.c, line 458
- sbin/restore/tape.c, 2 times
- sbin/routed/parms.c, line 184
- sbin/routed/trace.c, 2 times
- stand/ficl/fileaccess.c, 2 times
- stand/userboot/userboot/host.c, 3 times
- sys/cam/scsi/scsi_sa.c, 28 times
- sys/contrib/libnv/nvlist.c, line 623
- sys/dev/aic7xxx/aicasm/aicasm.c, line 591
- sys/fs/autofs/autofs_vnops.c, 2 times
- sys/fs/msdosfs/msdosfs_fileno.c, 8 times
- sys/fs/msdosfs/msdosfs_vnops.c, 15 times
- sys/fs/nfs/nfs_commonport.c, line 432
- sys/fs/nfsclient/nfs_clrpcops.c, 3 times
- sys/kern/vfs_default.c, 3 times
- usr.bin/bsdiff/bspatch/bspatch.c, 4 times
- usr.bin/calendar/io.c, 2 times
- usr.bin/chpass/edit.c, 2 times
- usr.bin/compress/compress.c, line 396
- usr.bin/csplit/csplit.c, line 310
- usr.bin/dc/dc.c, line 70
- usr.bin/diff/diffreg.c, 8 times
- usr.bin/dtc/dtc.cc, line 101
- usr.bin/elfdump/elfdump.c, line 561
- usr.bin/fetch/fetch.c, line 636
- usr.bin/grep/grep.c, line 324
- usr.bin/hexdump/display.c, 2 times
- usr.bin/indent/indent.c, 3 times
- usr.bin/kdump/kdump.c, line 1729
- usr.bin/lex/initscan.c, line 4684
- usr.bin/localedef/localedef.c, line 131
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/def.h, line 273
- usr.bin/mail/edit.c, line 163
- usr.bin/mail/fio.c, 3 times
- usr.bin/mail/lex.c, 3 times
- usr.bin/mail/popen.c, 2 times
- usr.bin/mail/quit.c, 3 times
- usr.bin/mail/send.c, line 404
- usr.bin/mail/tty.c, 8 times
- usr.bin/mkimg/mkimg.c, line 505
- usr.bin/msgs/msgs.c, 4 times
- usr.bin/patch/pch.c, line 123
- usr.bin/pr/pr.c, 2 times
- usr.bin/script/script.c, 2 times
- usr.bin/sed/main.c, 2 times
- usr.bin/split/split.c, line 355
- usr.bin/tail/forward.c, 8 times
- usr.bin/tail/reverse.c, line 120
- usr.bin/tail/tail.c, 4 times
- usr.bin/talk/io.c, line 111
- usr.bin/tip/tip/log.c, 2 times
- usr.bin/uniq/uniq.c, 3 times
- usr.bin/units/units.c, line 159
- usr.bin/uuencode/uuencode.c, line 107
- usr.bin/vgrind/vfontedpr.c, line 305
- usr.bin/vmstat/vmstat.c, 2 times
- usr.bin/write/write.c, 6 times
- usr.bin/xinstall/xinstall.c, 2 times
- usr.sbin/autofs/popen.c, line 128
- usr.sbin/cron/cron/popen.c, 2 times
- usr.sbin/cron/crontab/crontab.c, 3 times
- usr.sbin/ctm/ctm_smail/ctm_smail.c, line 87
- usr.sbin/fstyp/fstyp.c, line 143
- usr.sbin/fstyp/geli.c, 2 times
- usr.sbin/gstat/gstat.c, line 105
- usr.sbin/iostat/iostat.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, line 318
- usr.sbin/lpr/lpc/lpc.c, line 122
- usr.sbin/pkg/pkg.c, line 1087
- usr.sbin/pmcstat/pmcstat.c, 5 times
- usr.sbin/pwd_mkdb/pwd_mkdb.c, 3 times
- usr.sbin/sa/main.c, line 252
- usr.sbin/timed/timedc/timedc.c, line 97
- usr.sbin/uefisign/child.c, line 66
- usr.sbin/vidcontrol/vidcontrol.c, line 383