Defined in 4 files as a prototype:
Defined in 1 files as a member:
Defined in 22 files as a macro:
- common/dist/zlib/zutil.h, line 146 (as a macro)
- common/dist/zlib/zutil.h, line 173 (as a macro)
- common/dist/zlib/zutil.h, line 178 (as a macro)
- common/dist/zlib/zutil.h, line 184 (as a macro)
- crypto/external/bsd/openssl/dist/crypto/rand/randfile.c, line 35 (as a macro)
- crypto/external/bsd/openssl/dist/e_os.h, line 313 (as a macro)
- external/bsd/ntp/dist/ports/winnt/include/config.h, line 276 (as a macro)
- external/cddl/osnet/dist/uts/common/zmod/zutil.h, line 138 (as a macro)
- external/cddl/osnet/dist/uts/common/zmod/zutil.h, line 158 (as a macro)
- external/cddl/osnet/dist/uts/common/zmod/zutil.h, line 163 (as a macro)
- external/cddl/osnet/dist/uts/common/zmod/zutil.h, line 169 (as a macro)
- external/gpl3/binutils/dist/zlib/zutil.h, line 140 (as a macro)
- external/gpl3/binutils/dist/zlib/zutil.h, line 167 (as a macro)
- external/gpl3/binutils/dist/zlib/zutil.h, line 172 (as a macro)
- external/gpl3/binutils/dist/zlib/zutil.h, line 178 (as a macro)
- external/gpl3/gcc/dist/fixincludes/system.h, line 42 (as a macro)
- external/gpl3/gcc/dist/gcc/system.h, line 69 (as a macro)
- external/gpl3/gcc/dist/libcpp/system.h, line 55 (as a macro)
- lib/libc/include/namespace.h, line 325 (as a macro)
- sys/net/zlib.c, line 181 (as a macro)
- sys/net/zlib.c, line 195 (as a macro)
- sys/net/zlib.c, line 199 (as a macro)
Defined in 14 files as a function:
- sys/arch/acorn32/mainbus/fd.c, line 783 (as a function)
- sys/arch/amiga/dev/fd.c, line 471 (as a function)
- sys/arch/arc/jazz/fd.c, line 649 (as a function)
- sys/arch/atari/dev/fd.c, line 469 (as a function)
- sys/arch/atari/dev/hdfd.c, line 819 (as a function)
- sys/arch/bebox/stand/boot/fd.c, line 223 (as a function)
- sys/arch/mac68k/obio/iwm_fd.c, line 525 (as a function)
- sys/arch/mipsco/obio/i82072.c, line 138 (as a function)
- sys/arch/sparc/dev/fd.c, line 1123 (as a function)
- sys/arch/sparc64/dev/fdc.c, line 1307 (as a function)
- sys/arch/sun3/dev/fd.c, line 880 (as a function)
- sys/arch/x68k/dev/fd.c, line 922 (as a function)
- sys/arch/x68k/stand/libsa/fd.c, line 38 (as a function)
- sys/dev/isa/fd.c, line 920 (as a function)
Referenced in 237 files:
- bin/ed/buf.c, line 231
- bin/ksh/history.c, line 759
- bin/pax/tty_subs.c, 2 times
- bin/rcp/rcp.c, line 794
- bin/sh/histedit.c, 3 times
- bin/sh/show.c, 2 times
- common/dist/zlib/test/minigzip.c, line 222
- common/dist/zlib/zutil.h, line 145
- crypto/dist/ipsec-tools/src/racoon/plainrsa-gen.c, 2 times
- crypto/external/bsd/heimdal/dist/lib/krb5/log.c, line 329
- crypto/external/bsd/heimdal/dist/lib/roken/simple_exec.c, 3 times
- crypto/external/bsd/netpgp/dist/src/lib/netpgp.c, line 856
- crypto/external/bsd/netpgp/dist/src/netpgpverify/bzlib.c, line 969
- crypto/external/bsd/openssh/dist/auth-rhosts.c, line 80
- crypto/external/bsd/openssh/dist/auth.c, 2 times
- crypto/external/bsd/openssh/dist/hostfile.c, line 562
- crypto/external/bsd/openssh/dist/moduli.c, line 461
- crypto/external/bsd/openssh/dist/scp.c, line 1599
- crypto/external/bsd/openssh/dist/ssh-keygen.c, 5 times
- crypto/external/bsd/openssl/dist/apps/apps.c, line 2623
- crypto/external/bsd/openssl/dist/apps/speed.c, line 3505
- crypto/external/bsd/openssl/dist/crypto/rand/rand_egd.c, line 78
- crypto/external/bsd/openssl/dist/crypto/rand/randfile.c, line 205
- dist/pf/sbin/pflogd/pflogd.c, line 320
- dist/pf/usr.sbin/authpf/authpf.c, line 202
- external/bsd/am-utils/dist/hlfsd/homedir.c, line 755
- external/bsd/blacklist/port/popenve.c, 2 times
- external/bsd/byacc/dist/main.c, line 647
- external/bsd/bzip2/dist/bzip2.c, line 972
- external/bsd/bzip2/dist/bzlib.c, line 1433
- external/bsd/cron/dist/crontab.c, 2 times
- external/bsd/cron/dist/do_command.c, 2 times
- external/bsd/cron/dist/popen.c, 2 times
- external/bsd/cron/dist/user.c, line 58
- external/bsd/dhcpcd/dist/src/script.c, line 258
- external/bsd/flex/dist/src/filter.c, line 251
- external/bsd/ipf/dist/lib/ipft_hx.c, line 44
- external/bsd/ipf/dist/lib/ipft_tx.c, line 101
- external/bsd/ipf/dist/tools/ipmon.c, line 1463
- external/bsd/iscsi/dist/src/lib/conffile.c, line 238
- external/bsd/kyua-testers/dist/atf_list.c, line 342
- external/bsd/libbind/dist/isc/logging.c, line 150
- external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h, line 2383
- external/bsd/mdocml/dist/main.c, line 982
- external/bsd/mdocml/dist/mandocdb.c, line 1256
- external/bsd/mdocml/dist/tag.c, line 232
- external/bsd/ntp/dist/lib/isc/unix/file.c, 2 times
- external/bsd/ntp/dist/lib/isc/win32/file.c, 2 times
- external/bsd/ntp/dist/ntpd/ntp_control.c, line 1129
- external/bsd/ntp/dist/ntpd/refclock_true.c, line 245
- external/bsd/ntp/dist/ntpdc/ntpdc.c, line 1970
- external/bsd/ntp/dist/ntpq/ntpq.c, line 2884
- external/bsd/ntp/dist/sntp/libopts/makeshell.c, line 234
- external/bsd/ntp/dist/sntp/libopts/pgusage.c, line 65
- external/bsd/nvi/dist/common/exf.c, line 903
- external/bsd/nvi/dist/ex/ex_argv.c, line 697
- external/bsd/nvi/dist/ex/ex_cscope.c, 2 times
- external/bsd/nvi/dist/ex/ex_filter.c, 2 times
- external/bsd/nvi/dist/ex/ex_mkexrc.c, line 78
- external/bsd/openldap/dist/clients/tools/ldapsearch.c, line 1668
- external/bsd/openldap/dist/libraries/liblber/stdio.c, line 60
- external/bsd/openldap/dist/servers/slapd/back-shell/fork.c, 2 times
- external/bsd/openldap/dist/servers/slapd/back-sock/opensock.c, line 69
- external/bsd/pkg_install/dist/admin/main.c, line 438
- external/bsd/pkg_install/dist/lib/var.c, line 233
- external/bsd/ppp/dist/pppd/plugins/winbind.c, 2 times
- external/bsd/tcpdump/dist/tcpdump.c, 2 times
- external/bsd/wpa/dist/src/utils/wpa_debug.c, 2 times
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_diff.c, line 436
- external/cddl/osnet/dist/lib/libzfs/common/libzfs_sendrecv.c, line 273
- external/cddl/osnet/dist/uts/common/zmod/zutil.h, line 137
- external/cddl/osnet/lib/libzfs/fsshare.c, line 176
- external/gpl2/diffutils/dist/src/sdiff.c, 2 times
- external/gpl2/diffutils/dist/src/util.c, line 226
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/csharpcomp.c, line 278
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/javacomp.c, line 560
- external/gpl2/gettext/dist/gettext-tools/gnulib-lib/javaversion.c, line 77
- external/gpl2/gettext/dist/gettext-tools/src/msginit.c, 4 times
- external/gpl2/gettext/dist/gettext-tools/src/read-csharp.c, line 72
- external/gpl2/gettext/dist/gettext-tools/src/read-java.c, line 70
- external/gpl2/gettext/dist/gettext-tools/src/read-resources.c, line 73
- external/gpl2/gettext/dist/gettext-tools/src/read-tcl.c, line 110
- external/gpl2/gettext/dist/gettext-tools/src/write-resources.c, line 77
- external/gpl2/gmake/dist/main.c, 2 times
- external/gpl2/groff/dist/src/libs/libbib/index.cpp, line 383
- external/gpl2/groff/dist/src/libs/libgroff/tmpfile.cpp, line 182
- external/gpl2/groff/dist/src/utils/indxbib/indxbib.cpp, line 242
- external/gpl2/groff/dist/src/utils/xtotroff/xtotroff.c, line 165
- external/gpl2/lvm2/dist/lib/format_text/archive.c, line 247
- external/gpl2/lvm2/dist/lib/format_text/format-text.c, line 867
- external/gpl2/rcs/dist/src/rcsfnms.c, line 975
- external/gpl2/rcs/dist/src/rcsgen.c, line 479
- external/gpl2/rcs/dist/src/rcslex.c, line 964
- external/gpl2/rcs/dist/src/rcsutil.c, line 889
- external/gpl2/xcvs/dist/diff/util.c, line 244
- external/gpl2/xcvs/dist/lib/system.h, line 228
- external/gpl2/xcvs/dist/src/rcs.c, line 8514
- external/gpl2/xcvs/dist/src/release.c, line 91
- external/gpl3/binutils/dist/bfd/opncls.c, line 219
- external/gpl3/binutils/dist/libiberty/fopen_unlocked.c, line 118
- external/gpl3/binutils/dist/libiberty/pex-unix.c, 2 times
- external/gpl3/binutils/dist/libiberty/pex-win32.c, 2 times
- external/gpl3/binutils/dist/zlib/test/minigzip.c, line 222
- external/gpl3/binutils/dist/zlib/zutil.h, line 139
- external/gpl3/gcc/dist/fixincludes/fixincl.c, 3 times
- external/gpl3/gcc/dist/fixincludes/procopen.c, 2 times
- external/gpl3/gcc/dist/gcc/c-family/c-pch.c, line 350
- external/gpl3/gcc/dist/gcc/config/vms/vms-ar.c, line 309
- external/gpl3/gcc/dist/gcc/gcov-io.c, line 171
- external/gpl3/gcc/dist/libcpp/files.c, line 1900
- external/gpl3/gcc/dist/libiberty/fopen_unlocked.c, line 118
- external/gpl3/gcc/dist/libiberty/pex-unix.c, 2 times
- external/gpl3/gcc/dist/libiberty/pex-win32.c, 2 times
- external/gpl3/gcc/dist/libstdc++-v3/config/io/basic_file_stdio.cc, line 220
- external/gpl3/gdb/dist/bfd/opncls.c, line 219
- external/gpl3/gdb/dist/gdb/cli/cli-cmds.c, line 518
- external/gpl3/gdb/dist/gdb/common/scoped_fd.h, line 72
- external/gpl3/gdb/dist/gdb/gnulib/import/localcharset.c, line 180
- external/gpl3/gdb/dist/gdb/gnulib/import/stdio.in.h, 8 times
- external/gpl3/gdb/dist/gdb/ser-mingw.c, 2 times
- external/gpl3/gdb/dist/gdb/serial.c, 2 times
- external/gpl3/gdb/dist/gdb/top.c, line 322
- external/gpl3/gdb/dist/gdb/tui/tui-io.c, line 877
- external/gpl3/gdb/dist/libiberty/fopen_unlocked.c, line 118
- external/gpl3/gdb/dist/libiberty/pex-unix.c, 2 times
- external/gpl3/gdb/dist/libiberty/pex-win32.c, 2 times
- external/gpl3/gdb/dist/readline/examples/rl.c, line 139
- external/gpl3/gdb/dist/readline/examples/rlevent.c, line 147
- external/gpl3/gdb/dist/readline/examples/rlfe/rlfe.c, line 558
- external/gpl3/gdb/dist/readline/examples/rlptytest.c, 2 times
- external/gpl3/gdb/dist/sim/common/dv-cfi.c, line 755
- external/gpl3/gdb/dist/sim/erc32/erc32.c, 2 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/fdopen1.c, 2 times
- external/gpl3/gdb/dist/sim/testsuite/sim/cris/c/fdopen2.c, 2 times
- external/gpl3/gdb/dist/zlib/test/minigzip.c, line 222
- external/gpl3/gdb/dist/zlib/zutil.h, line 139
- external/mpl/bind/dist/bin/named/unix/os.c, line 712
- external/mpl/bind/dist/bin/named/win32/os.c, line 252
- external/mpl/bind/dist/lib/isc/unix/file.c, 2 times
- external/mpl/bind/dist/lib/isc/win32/file.c, 2 times
- external/mpl/dhcp/dist/client/dhclient.c, line 4544
- external/mpl/dhcp/dist/relay/dhcrelay.c, line 797
- external/mpl/dhcp/dist/server/db.c, line 1183
- games/atc/log.c, line 147
- games/fortune/fortune/fortune.c, line 1055
- games/hunt/huntd/answer.c, line 204
- games/hunt/huntd/driver.c, line 972
- lib/libc/db/recno/rec_open.c, line 135
- lib/libc/gen/popen.c, 2 times
- lib/libc/gen/wordexp.c, line 118
- lib/libc/stdio/fdopen.c, 2 times
- lib/libc/stdio/tmpfile.c, line 78
- lib/libedit/readline.c, line 1239
- lib/libpam/modules/pam_ssh/pam_ssh.c, line 343
- lib/libutil/passwd.c, 2 times
- lib/libwrap/rfc931.c, line 62
- libexec/fingerd/fingerd.c, line 213
- libexec/ftpd/ftpd.c, 5 times
- libexec/ftpd/popen.c, 2 times
- libexec/mail.local/mail.local.c, line 141
- libexec/makewhatis/makewhatis.c, line 386
- libexec/tftpd/tftpd.c, line 899
- sbin/disklabel/main.c, line 1524
- sbin/restore/dirs.c, 2 times
- sbin/savecore/savecore.c, 2 times
- sbin/veriexecctl/veriexecctl.c, line 251
- share/examples/refuse/ian/ian/ian.c, line 105
- sys/arch/acorn32/mainbus/fd.c, 4 times
- sys/arch/amiga/dev/fd.c, 5 times
- sys/arch/arc/jazz/fd.c, 3 times
- sys/arch/atari/dev/fd.c, 3 times
- sys/arch/atari/dev/hdfd.c, 3 times
- sys/arch/bebox/stand/boot/conf.c, line 54
- sys/arch/mac68k/obio/iwm_fd.c, 3 times
- sys/arch/mipsco/obio/i82072.c, 3 times
- sys/arch/sparc/dev/fd.c, 4 times
- sys/arch/sparc64/dev/fdc.c, 4 times
- sys/arch/sun3/dev/fd.c, 4 times
- sys/arch/x68k/dev/fd.c, 3 times
- sys/arch/x68k/stand/boot/conf.c, line 45
- sys/dev/isa/fd.c, 3 times
- sys/external/bsd/compiler_rt/dist/lib/fuzzer/FuzzerIOPosix.cpp, line 87
- sys/external/bsd/compiler_rt/dist/lib/profile/GCDAProfiling.c, line 295
- sys/net/zlib.c, line 180
- tests/lib/libc/misc/t_ubsan.c, line 95
- tests/lib/libc/stdio/t_fopen.c, 6 times
- tests/lib/libc/stdlib/t_exit.c, line 171
- tools/compat/dprintf.c, line 55
- usr.bin/at/at.c, line 278
- usr.bin/calendar/calendar.c, 2 times
- usr.bin/chpass/edit.c, 2 times
- usr.bin/cksum/cksum.c, line 299
- usr.bin/cmp/special.c, 2 times
- usr.bin/config/main.c, line 1617
- usr.bin/crunch/crunchgen/crunchgen.c, line 694
- usr.bin/error/touch.c, line 590
- usr.bin/finger/lprint.c, line 365
- usr.bin/finger/net.c, line 135
- usr.bin/ftp/ftp.c, 4 times
- usr.bin/gzip/gzip.c, line 1567
- usr.bin/gzip/unlz.c, 2 times
- usr.bin/gzip/unpack.c, 2 times
- usr.bin/gzip/zuncompress.c, line 197
- usr.bin/ktruss/dump.c, line 312
- usr.bin/m4/eval.c, line 840
- usr.bin/mail/lex.c, line 281
- usr.bin/mail/mime_child.c, 2 times
- usr.bin/mail/popen.c, 2 times
- usr.bin/make/job.c, line 1620
- usr.bin/make/meta.c, line 1632
- usr.bin/qsubst/qsubst.c, line 550
- usr.bin/rdist/server.c, 2 times
- usr.bin/rpcgen/rpc_main.c, line 394
- usr.bin/rwall/rwall.c, line 165
- usr.bin/sdiff/sdiff.c, line 314
- usr.bin/sort/sort.c, line 343
- usr.bin/sort/tmp.c, line 99
- usr.bin/tftp/tftp.c, 2 times
- usr.bin/unifdef/unifdef.c, line 358
- usr.bin/vacation/vacation.c, line 622
- usr.bin/wall/wall.c, line 237
- usr.bin/whois/whois.c, 2 times
- usr.bin/xlint/lint1/main1.c, line 148
- usr.sbin/altq/altqd/altqd.c, line 285
- usr.sbin/altq/altqstat/quip_client.c, line 129
- usr.sbin/autofs/popen.c, line 140
- usr.sbin/edquota/edquota.c, 2 times
- usr.sbin/kvm_mkdb/nlist_aout.c, line 165
- usr.sbin/lockstat/main.c, line 256
- usr.sbin/pwd_mkdb/pwd_mkdb.c, line 408
- usr.sbin/rpc.pcnfsd/pcnfsd_misc.c, line 461
- usr.sbin/rpcbind/warmstart.c, line 82
- usr.sbin/sup/source/supcmisc.c, line 325
- usr.sbin/sysinst/util.c, line 1698
- usr.sbin/tpctl/data.c, line 283
- usr.sbin/traceroute/as.c, line 100
- usr.sbin/user/user.c, 6 times