Defined in 1 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 252 files:
- bin/cat/cat.c, line 327
- 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 2212
- cddl/contrib/opensolaris/lib/libdtrace/common/dt_printf.c, 2 times
- 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/filemon/filemon_ktrace.c, line 398
- contrib/bmake/job.c, 2 times
- contrib/bmake/meta.c, 2 times
- contrib/bzip2/bzip2.c, 9 times
- contrib/bzip2/bzlib.c, line 1386
- contrib/dialog/dialog.c, line 1355
- contrib/dialog/progressbox.c, line 390
- contrib/dialog/tailbox.c, line 209
- 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 175
- contrib/elftoolchain/strings/strings.c, line 271
- contrib/flex/src/filter.c, 2 times
- contrib/gdb/gdb/config/rs6000/xm-rs6000.h, line 83
- contrib/gdb/gdb/defs.h, line 1300
- contrib/gdb/gdb/event-top.c, line 1149
- 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/googletest/googletest/include/gtest/internal/gtest-port.h, line 2487
- contrib/less/cmdbuf.c, 2 times
- contrib/less/filename.c, line 921
- 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/libedit/el.c, 6 times
- contrib/libedit/history.c, line 843
- contrib/libedit/readline.c, 5 times
- contrib/libpcap/savefile.c, 2 times
- contrib/libpcap/sf-pcap.c, line 67
- contrib/libxo/libxo/libxo.c, line 597
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilDarwin.cpp, line 164
- contrib/llvm-project/compiler-rt/lib/fuzzer/FuzzerUtilLinux.cpp, line 35
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingFile.c, 4 times
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingPort.h, line 31
- contrib/llvm-project/compiler-rt/lib/profile/InstrProfilingUtil.c, 2 times
- contrib/llvm-project/lldb/source/Host/common/Editline.cpp, 3 times
- contrib/llvm-project/lldb/source/Host/common/File.cpp, line 261
- contrib/ncurses/ncurses/base/lib_initscr.c, 3 times
- contrib/ncurses/ncurses/base/lib_mouse.c, line 449
- contrib/ncurses/ncurses/base/lib_newterm.c, 3 times
- contrib/ncurses/ncurses/base/lib_set_term.c, line 400
- contrib/ncurses/ncurses/tinfo/lib_baudrate.c, line 267
- 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 331
- contrib/ncurses/ncurses/tty/lib_tstp.c, line 273
- contrib/ncurses/progs/tty_settings.c, line 82
- 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 459
- contrib/openbsm/libbsm/bsm_control.c, line 305
- 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 1340
- contrib/sqlite3/sqlite3.c, line 24342
- 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 1220
- 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
- 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/openssh/auth.c, line 541
- crypto/openssh/clientloop.c, 10 times
- crypto/openssh/readconf.c, line 1813
- crypto/openssh/sftp.c, 3 times
- crypto/openssh/ssh.c, 2 times
- crypto/openssh/sshtty.c, 3 times
- crypto/openssl/apps/apps.c, 5 times
- crypto/openssl/crypto/bio/bio_local.h, line 181
- crypto/openssl/crypto/bio/bss_file.c, 2 times
- crypto/openssl/crypto/rand/randfile.c, line 104
- crypto/openssl/crypto/ui/ui_openssl.c, 3 times
- lib/libc/gen/getutxent.c, line 82
- lib/libc/gen/popen.c, line 161
- lib/libc/net/rcmd.c, line 484
- lib/libc/resolv/res_init.c, line 333
- lib/libc/stdio/fileno.c, line 46
- 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/libutil/login_auth.c, line 104
- libexec/atrun/atrun.c, line 206
- libexec/bootpd/readfile.c, line 367
- libexec/comsat/comsat.c, line 195
- libexec/ftpd/ftpd.c, 8 times
- libexec/ftpd/popen.c, 2 times
- libexec/rbootd/rbootd.c, 3 times
- libexec/ypxfr/ypxfr_main.c, line 181
- sbin/camcontrol/modeedit.c, line 949
- sbin/dhclient/dhclient.c, 4 times
- sbin/dump/itime.c, 2 times
- sbin/dump/tape.c, line 621
- sbin/ipfw/main.c, line 556
- sbin/pfctl/pfctl.c, line 1647
- sbin/rcorder/rcorder.c, line 489
- sbin/recoverdisk/recoverdisk.c, line 330
- sbin/restore/tape.c, 2 times
- sbin/routed/parms.c, line 186
- sbin/routed/trace.c, 2 times
- stand/ficl/fileaccess.c, 3 times
- stand/userboot/userboot/host.c, 3 times
- sys/cam/scsi/scsi_sa.c, 28 times
- sys/contrib/libnv/nvlist.c, line 633
- sys/contrib/openzfs/cmd/zdb/zdb.c, line 7591
- sys/contrib/openzfs/lib/libspl/os/freebsd/mnttab.c, 2 times
- sys/contrib/openzfs/lib/libzfs/libzfs_crypto.c, 5 times
- sys/contrib/zlib/test/minigzip.c, 5 times
- sys/contrib/zstd/programs/platform.h, 2 times
- sys/contrib/zstd/zlibWrapper/examples/minigzip.c, 5 times
- sys/dev/aic7xxx/aicasm/aicasm.c, line 590
- sys/fs/autofs/autofs_vnops.c, 2 times
- sys/fs/nfs/nfs_commonport.c, line 448
- sys/fs/nfsclient/nfs_clrpcops.c, 3 times
- sys/kern/vfs_default.c, 3 times
- tools/build/bootstrap-m4/inittokenizer.c, line 1378
- 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 400
- usr.bin/csplit/csplit.c, line 310
- usr.bin/dc/dc.c, line 70
- usr.bin/diff/diffreg.c, 8 times
- usr.bin/diff3/diff3.c, 3 times
- usr.bin/dtc/dtc.cc, line 104
- usr.bin/elfdump/elfdump.c, line 573
- usr.bin/fetch/fetch.c, line 664
- usr.bin/grep/grep.c, line 294
- usr.bin/hexdump/display.c, 3 times
- usr.bin/indent/indent.c, 3 times
- usr.bin/kdump/kdump.c, line 1678
- usr.bin/ktrdump/ktrdump.c, line 175
- usr.bin/lam/lam.c, line 139
- usr.bin/lex/initscan.c, line 4742
- usr.bin/localedef/localedef.c, line 135
- usr.bin/mail/collect.c, 3 times
- usr.bin/mail/def.h, line 275
- usr.bin/mail/edit.c, line 165
- 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 406
- usr.bin/mail/tty.c, 8 times
- usr.bin/ministat/ministat.c, line 653
- usr.bin/mkimg/mkimg.c, line 505
- usr.bin/msgs/msgs.c, 4 times
- usr.bin/patch/pch.c, line 125
- 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 357
- usr.bin/tail/forward.c, 9 times
- usr.bin/tail/reverse.c, line 125
- usr.bin/tail/tail.c, 4 times
- usr.bin/talk/io.c, line 113
- 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 109
- usr.bin/vgrind/vfontedpr.c, line 307
- 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/bhyve/gdb.c, line 204
- usr.sbin/cron/cron/popen.c, 2 times
- usr.sbin/cron/crontab/crontab.c, 3 times
- usr.sbin/fstyp/fstyp.c, line 154
- usr.sbin/fstyp/geli.c, 2 times
- usr.sbin/fstyp/ufs.c, line 53
- usr.sbin/gstat/gstat.c, line 109
- usr.sbin/iostat/iostat.c, 2 times
- usr.sbin/lpr/lpc/cmds.c, line 320
- usr.sbin/lpr/lpc/lpc.c, line 124
- usr.sbin/pkg/pkg.c, line 1110
- usr.sbin/pmc/cmd_pmc_stat.c, line 460
- usr.sbin/pmcstat/pmcstat.c, 5 times
- usr.sbin/pwd_mkdb/pwd_mkdb.c, 3 times
- usr.sbin/rtsold/dump.c, 2 times
- usr.sbin/sa/main.c, line 252
- usr.sbin/uefisign/child.c, line 62
- usr.sbin/vidcontrol/vidcontrol.c, line 371