Defined in 3 files as a prototype:
Defined in 1 files as a macro:
Defined in 7 files as a function:
Referenced in 32 files:
- contrib/bmake/filemon/filemon_ktrace.c, line 461
- contrib/file/src/softmagic.c, line 812
- contrib/lib9p/backend/fs.c
- contrib/mandoc/mandoc_aux.c, line 114
- contrib/mandoc/test-strndup.c, line 8
- contrib/ncurses/include/nc_alloc.h, line 48
- contrib/nvi/cl/cl_funcs.c, line 634
- contrib/nvi/common/util.c, line 160
- contrib/ofed/libibverbs/sysfs.c, line 66
- crypto/openssh/openbsd-compat/strndup.c, line 42
- crypto/openssh/sshkey.c, line 1270
- lib/libbluetooth/hci.c, line 592
- lib/libc/iconv/bsd_iconv.c
- lib/libfetch/common.c
- lib/libnetbsd/efun.c, line 99
- lib/libpam/modules/pam_login_access/login_access.c, line 229
- sbin/nvmecontrol/nvmecontrol.c, line 170
- sys/cam/ctl/ctl.c
- sys/contrib/openzfs/cmd/zdb/zdb.c, line 6764
- sys/contrib/openzfs/lib/libzfs/libzfs_sendrecv.c, line 1609
- sys/contrib/openzfs/tests/zfs-tests/cmd/badsend/badsend.c, line 78
- sys/dev/bhnd/nvram/bhnd_nvram_private.h, line 158
- sys/fs/autofs/autofs.c, line 400
- sys/fs/autofs/autofs_vnops.c
- sys/geom/nop/g_nop.c, line 430
- tools/tools/crypto/cryptocheck.c, line 275
- usr.bin/diff/diff.c, line 431
- usr.bin/grep/util.c, line 414
- usr.bin/top/display.c, line 770
- usr.sbin/autofs/common.c, line 930
- usr.sbin/autofs/defined.c, line 179
- usr.sbin/mountd/mountd.c, line 2476