Subject: Re: sprintf -> snprintf
To: George Michaelson <ggm@connect.com.au>
From: Curt Sampson <curt@portal.ca>
List: current-users
Date: 09/20/1996 22:41:29
On Sat, 21 Sep 1996, George Michaelson wrote:
> I don't have sources to hand. Is it even remotely plausible
> to make removing sprintf and replacing with snprintf a goal?
Capital idea! 1.2_BETA has 2675 occurences of sprintf in 712 files.
I've appended the list of files, along with the number of occurences
in each file, below, so you can get to work right away. :-)
cjs
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.
./bin/chio/chio.c 1
./bin/csh/err.c 1
./bin/csh/printf.c 1
./bin/ed/buf.c 9
./bin/ed/cbc.c 1
./bin/ed/glbl.c 5
./bin/ed/io.c 8
./bin/ed/main.c 50
./bin/ed/re.c 5
./bin/ed/sub.c 3
./bin/ed/undo.c 3
./bin/expr/expr.c 1
./bin/mt/mtrmt.c 2
./bin/pax/cache.c 4
./bin/rmail/rmail.c 1
./bin/sh/histedit.c 2
./bin/sh/mkinit.c 1
./bin/sh/mknodes.c 4
./bin/sh/mksyntax.c 2
./bin/stty/print.c 2
./distrib/crunch/crunchgen/crunchgen.c 17
./distrib/utils/libhack/gethost.c 1
./distrib/utils/libhack/yplib.c 1
./distrib/utils/x_route/route.c 12
./distrib/utils/x_route/show.c 5
./domestic/lib/libacl/acl_files.c 5
./domestic/lib/libkdb/krb_lib.c 1
./domestic/lib/libkrb/k_gethostname.c 1
./domestic/lib/libkrb/k_strerror.c 1
./domestic/lib/libkrb/klog.c 1
./domestic/lib/libkrb/kparse.c 17
./domestic/lib/libkrb/lifetime.c 1
./domestic/lib/libkrb/sendauth.c 1
./domestic/lib/libkrb/tkt_string.c 1
./domestic/lib/libss/help.c 1
./domestic/lib/libtelnet/auth.c 1
./domestic/lib/libtelnet/enc_des.c 5
./domestic/lib/libtelnet/encrypt.c 1
./domestic/lib/libtelnet/kerberos.c 2
./domestic/lib/libtelnet/kerberos5.c 2
./domestic/lib/libtelnet/krb4encpwd.c 3
./domestic/lib/libtelnet/spx.c 2
./domestic/libexec/telnetd/slc.c 2
./domestic/libexec/telnetd/state.c 5
./domestic/libexec/telnetd/telnetd.c 6
./domestic/libexec/telnetd/termstat.c 6
./domestic/libexec/telnetd/utility.c 140
./domestic/usr.bin/make_cmds/utils.c 2
./domestic/usr.bin/telnet/commands.c 1
./domestic/usr.bin/telnet/telnet.c 3
./domestic/usr.bin/telnet/utilities.c 1
./domestic/usr.sbin/ext_srvtab/ext_srvtab.c 1
./domestic/usr.sbin/kadmin/kadmin.c 4
./domestic/usr.sbin/kadmind/kadm_funcs.c 4
./domestic/usr.sbin/kdb_edit/kdb_edit.c 1
./domestic/usr.sbin/kerberos/kerberos.c 2
./domestic/usr.sbin/kpropd/kpropd.c 23
./domestic/usr.sbin/ksrvutil/ksrvutil.c 1
./games/atc/input.c 1
./games/atc/log.c 4
./games/atc/update.c 5
./games/cribbage/io.c 2
./games/cribbage/score.c 2
./games/cribbage/support.c 1
./games/fish/fish.c 1
./games/hack/hack.do_name.c 3
./games/hack/hack.eat.c 1
./games/hack/hack.fight.c 1
./games/hack/hack.invent.c 2
./games/hack/hack.main.c 2
./games/hack/hack.options.c 1
./games/hack/hack.pri.c 7
./games/hack/hack.rip.c 3
./games/hack/hack.shk.c 3
./games/hack/hack.topl.c 1
./games/hack/hack.unix.c 1
./games/larn/bill.c 4
./games/larn/io.c 1
./games/larn/main.c 1
./games/larn/scores.c 3
./games/larn/signal.c 1
./games/mille/save.c 1
./games/monop/houses.c 3
./games/monop/prop.c 1
./games/phantasia/main.c 5
./games/phantasia/misc.c 3
./games/rogue/curses.c 2
./games/rogue/hit.c 4
./games/rogue/inventory.c 10
./games/rogue/level.c 2
./games/rogue/message.c 6
./games/rogue/pack.c 1
./games/rogue/ring.c 1
./games/rogue/score.c 4
./games/rogue/spec_hit.c 3
./games/rogue/throw.c 2
./games/rogue/use.c 6
./games/rogue/zap.c 6
./games/sail/dr_1.c 3
./games/sail/dr_2.c 1
./games/sail/lo_main.c 2
./games/sail/pl_5.c 1
./games/sail/pl_7.c 1
./games/sail/pl_main.c 1
./games/sail/sync.c 8
./games/snake/snake/move.c 2
./games/tetris/scores.c 1
./games/tetris/tetris.c 1
./games/trek/getpar.c 1
./games/trek/shield.c 2
./games/wump/wump.c 1
./gnu/lib/libg++/libio/iosprintf.c 1
./gnu/libexec/uucp/common_sources/chat.c 1
./gnu/libexec/uucp/common_sources/conn.c 1
./gnu/libexec/uucp/common_sources/log.c 9
./gnu/libexec/uucp/contrib/uurate.c 4
./gnu/libexec/uucp/contrib/xchat.c 3
./gnu/libexec/uucp/cu/cu.c 30
./gnu/libexec/uucp/libunix/cohtty.c 6
./gnu/libexec/uucp/libunix/cusub.c 3
./gnu/libexec/uucp/libunix/filnam.c 10
./gnu/libexec/uucp/libunix/jobid.c 1
./gnu/libexec/uucp/libunix/lock.c 7
./gnu/libexec/uucp/libunix/picksb.c 2
./gnu/libexec/uucp/libunix/run.c 1
./gnu/libexec/uucp/libunix/serial.c 3
./gnu/libexec/uucp/libunix/spawn.c 7
./gnu/libexec/uucp/libunix/splcmd.c 1
./gnu/libexec/uucp/libunix/spool.c 1
./gnu/libexec/uucp/libunix/statsb.c 3
./gnu/libexec/uucp/libunix/tli.c 1
./gnu/libexec/uucp/libunix/uuto.c 1
./gnu/libexec/uucp/libunix/work.c 2
./gnu/libexec/uucp/libunix/xqtsub.c 9
./gnu/libexec/uucp/libuucp/debug.c 1
./gnu/libexec/uucp/tstuu.c 12
./gnu/libexec/uucp/uucico/prote.c 1
./gnu/libexec/uucp/uucico/protf.c 1
./gnu/libexec/uucp/uucico/protg.c 1
./gnu/libexec/uucp/uucico/proti.c 1
./gnu/libexec/uucp/uucico/protz.c 1
./gnu/libexec/uucp/uucico/rec.c 9
./gnu/libexec/uucp/uucico/send.c 10
./gnu/libexec/uucp/uucico/uucico.c 13
./gnu/libexec/uucp/uucico/xcmd.c 2
./gnu/libexec/uucp/uuconv/uuconv.c 27
./gnu/libexec/uucp/uucp/uucp.c 10
./gnu/libexec/uucp/uulog/uulog.c 1
./gnu/libexec/uucp/uustat/uustat.c 2
./gnu/libexec/uucp/uux/uux.c 3
./gnu/libexec/uucp/uuxqt/uuxqt.c 3
./gnu/usr.bin/bc/number.c 1
./gnu/usr.bin/bc/util.c 4
./gnu/usr.bin/cpio/copyout.c 2
./gnu/usr.bin/cpio/idcache.c 2
./gnu/usr.bin/cpio/rtapelib.c 5
./gnu/usr.bin/cpio/tar.c 1
./gnu/usr.bin/cpio/userspec.c 1
./gnu/usr.bin/dc/dc-number.c 2
./gnu/usr.bin/diff/diff.c 1
./gnu/usr.bin/diff/diff3.c 2
./gnu/usr.bin/diff/sdiff.c 3
./gnu/usr.bin/diff/util.c 3
./gnu/usr.bin/gas/app.c 1
./gnu/usr.bin/gas/config/atof-ieee.c 3
./gnu/usr.bin/gas/config/atof-ns32k.c 1
./gnu/usr.bin/gas/config/obj-vms.c 5
./gnu/usr.bin/gas/config/tc-a29k.c 1
./gnu/usr.bin/gas/config/tc-i386.c 2
./gnu/usr.bin/gas/config/tc-i960.c 6
./gnu/usr.bin/gas/config/tc-ns32k.c 1
./gnu/usr.bin/gas/listing.c 3
./gnu/usr.bin/gas/messages.c 9
./gnu/usr.bin/gas/symbols.c 2
./gnu/usr.bin/gawk/builtin.c 9
./gnu/usr.bin/gawk/field.c 2
./gnu/usr.bin/gawk/io.c 7
./gnu/usr.bin/gawk/node.c 2
./gnu/usr.bin/gcc/arch/arm32/arm32.c 2
./gnu/usr.bin/gcc/arch/i386/i386.c 1
./gnu/usr.bin/gcc/arch/m68k/m68k.c 4
./gnu/usr.bin/gcc/arch/mips/mips.c 4
./gnu/usr.bin/gcc/arch/sparc/sparc.c 2
./gnu/usr.bin/gcc/cc/gcc.c 3
./gnu/usr.bin/gcc/cc1obj/objc-act.c 29
./gnu/usr.bin/gcc/cc1plus/call.c 2
./gnu/usr.bin/gcc/cc1plus/class.c 4
./gnu/usr.bin/gcc/cc1plus/decl.c 4
./gnu/usr.bin/gcc/cc1plus/decl2.c 4
./gnu/usr.bin/gcc/cc1plus/errfn.c 1
./gnu/usr.bin/gcc/cc1plus/error.c 7
./gnu/usr.bin/gcc/cc1plus/gc.c 1
./gnu/usr.bin/gcc/cc1plus/lex.c 3
./gnu/usr.bin/gcc/cc1plus/method.c 6
./gnu/usr.bin/gcc/cc1plus/sig.c 5
./gnu/usr.bin/gcc/cc1plus/tree.c 1
./gnu/usr.bin/gcc/cc1plus/typeck.c 2
./gnu/usr.bin/gcc/cc1plus/typeck2.c 7
./gnu/usr.bin/gcc/cc1plus/xref.c 3
./gnu/usr.bin/gcc/common/bc-emit.c 2
./gnu/usr.bin/gcc/common/c-aux-info.c 1
./gnu/usr.bin/gcc/common/c-common.c 18
./gnu/usr.bin/gcc/common/c-lex.c 1
./gnu/usr.bin/gcc/common/c-typeck.c 7
./gnu/usr.bin/gcc/common/dbxout.c 2
./gnu/usr.bin/gcc/common/dwarfout.c 65
./gnu/usr.bin/gcc/common/expr.c 1
./gnu/usr.bin/gcc/common/genattrtab.c 6
./gnu/usr.bin/gcc/common/print-tree.c 2
./gnu/usr.bin/gcc/common/real.c 8
./gnu/usr.bin/gcc/common/sdbout.c 1
./gnu/usr.bin/gcc/common/toplev.c 2
./gnu/usr.bin/gcc/common/tree.c 1
./gnu/usr.bin/gcc/cpp/cccp.c 19
./gnu/usr.bin/gcc/g++/g++.c 3
./gnu/usr.bin/gcc/libobjc/archive.c 1
./gnu/usr.bin/gcc/libobjc/sendmsg.c 1
./gnu/usr.bin/gdb/bfd/archive.c 19
./gnu/usr.bin/gdb/bfd/ecoff.c 8
./gnu/usr.bin/gdb/bfd/srec.c 4
./gnu/usr.bin/gdb/gdb/arch/i386/i386-dis.c 13
./gnu/usr.bin/gdb/gdb/arch/m68k/m68k-dis.c 1
./gnu/usr.bin/gdb/gdb/arch/ns32k/ns32k-pinsn.c 24
./gnu/usr.bin/gdb/gdb/breakpoint.c 2
./gnu/usr.bin/gdb/gdb/corelow.c 1
./gnu/usr.bin/gdb/gdb/infptrace.c 3
./gnu/usr.bin/gdb/gdb/language.c 2
./gnu/usr.bin/gdb/gdb/printcmd.c 1
./gnu/usr.bin/gdb/gdb/remote.c 3
./gnu/usr.bin/gdb/gdb/source.c 1
./gnu/usr.bin/gdb/gdb/symtab.c 8
./gnu/usr.bin/gdb/gdb/target.c 1
./gnu/usr.bin/gdb/gdb/utils.c 3
./gnu/usr.bin/gdb/gdb/valops.c 2
./gnu/usr.bin/gdb/libiberty/strsignal.c 2
./gnu/usr.bin/gdb/objdump/arch/i386/i386-pinsn.c 13
./gnu/usr.bin/gdb/objdump/arch/m68k/m68k-pinsn.c 1
./gnu/usr.bin/gdb/objdump/bucomm.c 1
./gnu/usr.bin/gdb/objdump/objdump.c 1
./gnu/usr.bin/gdb/readline/history.c 3
./gnu/usr.bin/gdb/readline/readline.c 9
./gnu/usr.bin/gdb/readline/vi_mode.c 1
./gnu/usr.bin/gdb/xgdb/xgdb.c 4
./gnu/usr.bin/groff/groff/pipeline.c 2
./gnu/usr.bin/groff/xditview/device.c 1
./gnu/usr.bin/groff/xditview/xditview.c 3
./gnu/usr.bin/groff/xditview/xtotroff.c 1
./gnu/usr.bin/ld/ld.c 1
./gnu/usr.bin/ld/rtld/rtld.c 1
./gnu/usr.bin/ld/shlib.c 1
./gnu/usr.bin/ld/warnings.c 2
./gnu/usr.bin/rcs/ci/ci.c 1
./gnu/usr.bin/rcs/lib/merger.c 1
./gnu/usr.bin/rcs/lib/rcsfnms.c 1
./gnu/usr.bin/rcs/lib/rcskeep.c 1
./gnu/usr.bin/rcs/lib/rcstime.c 3
./gnu/usr.bin/rcs/lib/rcsutil.c 1
./gnu/usr.bin/rcs/rcsdiff/rcsdiff.c 2
./gnu/usr.bin/rcs/rlog/rlog.c 1
./gnu/usr.bin/sort/sort.c 2
./gnu/usr.bin/tar/buffer.c 5
./gnu/usr.bin/tar/create.c 2
./gnu/usr.bin/tar/list.c 5
./gnu/usr.bin/tar/mangle.c 2
./gnu/usr.bin/tar/rtapelib.c 5
./gnu/usr.bin/tar/tar.c 3
./lib/libc/gen/getpwent.c 1
./lib/libc/gen/timezone.c 1
./lib/libc/gmon/gmon.c 2
./lib/libc/net/ethers.c 2
./lib/libc/net/gethostnamadr.c 2
./lib/libc/net/ns_ntoa.c 5
./lib/libc/net/res_debug.c 9
./lib/libc/net/res_query.c 1
./lib/libc/regex/engine.c 2
./lib/libc/regex/regerror.c 2
./lib/libc/rpc/clnt_perror.c 10
./lib/libc/stdio/sprintf.c 2
./lib/libc/stdio/vsprintf.c 1
./lib/libc/string/__strerror.c 2
./lib/libc/string/__strsignal.c 2
./lib/libc/time/asctime.c 1
./lib/libc/time/zic.c 6
./lib/libcompat/4.3/rexec.c 1
./lib/libcompat/regexp/regexp.c 2
./lib/libcurses/PSD.doc/ex2.c 3
./lib/libpcap/bpf_image.c 2
./lib/libpcap/gencode.c 1
./lib/libpcap/inet.c 7
./lib/libpcap/pcap-bpf.c 13
./lib/libpcap/savefile.c 7
./lib/libpthread/stdio/sprintf.c 2
./lib/libpthread/stdio/vsprintf.c 1
./lib/libskey/put.c 1
./lib/libskey/skeylogin.c 2
./lib/libskey/skeysubr.c 1
./lib/libtelnet/auth.c 1
./libexec/ftpd/ftpd.c 5
./libexec/identd/identd.c 1
./libexec/mail.local/mail.local.c 3
./libexec/rexecd/rexecd.c 1
./libexec/rlogind/rlogind.c 3
./libexec/rpc.rquotad/rquotad.c 2
./libexec/rpc.rusersd/rusers_proc.c 1
./libexec/rshd/rshd.c 1
./libexec/talkd/print.c 3
./libexec/telnetd/slc.c 2
./libexec/telnetd/state.c 5
./libexec/telnetd/sys_term.c 8
./libexec/telnetd/telnetd.c 6
./libexec/telnetd/termstat.c 6
./libexec/telnetd/utility.c 122
./libexec/uucpd/uucpd.c 3
./regress/lib/libc/db/dbtest.c 1
./regress/lib/libc/regex/debug.c 2
./regress/lib/libc/regex/main.c 6
./sbin/ccdconfig/ccdconfig.c 2
./sbin/disklabel/disklabel.c 8
./sbin/dump/dumprmt.c 6
./sbin/dump/optr.c 1
./sbin/edlabel/edlabel.c 1
./sbin/fsck_ffs/inode.c 1
./sbin/fsck_msdos/dir.c 1
./sbin/init/init.c 2
./sbin/modload/modload.c 4
./sbin/mount_portal/mount_portal.c 1
./sbin/newfs/newfs.c 3
./sbin/newlfs/newfs.c 2
./sbin/ping/ping.c 2
./sbin/quotacheck/quotacheck.c 1
./sbin/restore/dirs.c 3
./sbin/restore/restore.c 1
./sbin/restore/utilities.c 1
./sbin/route/route.c 15
./sbin/tunefs/tunefs.c 1
./sys/arch/alpha/alpha/autoconf.c 2
./sys/arch/alpha/alpha/dec_2100_a50.c 1
./sys/arch/alpha/alpha/disksubr.c 1
./sys/arch/alpha/pci/pci_kn20aa.c 1
./sys/arch/alpha/pci/sio_pic.c 1
./sys/arch/amiga/amiga/machdep.c 3
./sys/arch/amiga/dev/if_ae.c 1
./sys/arch/amiga/dev/if_ed.c 1
./sys/arch/amiga/dev/if_es.c 1
./sys/arch/amiga/dev/if_qn.c 1
./sys/arch/amiga/dev/ite.c 1
./sys/arch/arm32/boot/bsdbooter.c 2
./sys/arch/arm32/boot/vsprintf.c 3
./sys/arch/arm32/dev/console/vidcconsole.c 1
./sys/arch/arm32/dev/console/vt220.c 3
./sys/arch/arm32/mainbus/cpu.c 3
./sys/arch/arm32/mainbus/if_es.c 1
./sys/arch/arm32/mainbus/kbd.c 1
./sys/arch/arm32/mainbus/lpt.c 1
./sys/arch/arm32/podulebus/if_ea.c 5
./sys/arch/arm32/podulebus/if_eb.c 6
./sys/arch/arm32/podulebus/if_eh.c 1
./sys/arch/arm32/podulebus/if_ie.c 2
./sys/arch/atari/atari/machdep.c 1
./sys/arch/atari/dev/ite.c 1
./sys/arch/atari/stand/installboot/installboot.c 14
./sys/arch/atari/stand/tostools/aptck/diskio.c 4
./sys/arch/hp300/dev/if_le.c 1
./sys/arch/hp300/dev/rd.c 1
./sys/arch/hp300/dev/sd.c 1
./sys/arch/hp300/hp300/autoconf.c 3
./sys/arch/hp300/hp300/hpux_machdep.c 1
./sys/arch/hp300/hp300/machdep.c 6
./sys/arch/hp300/hp300/swapgeneric.c 1
./sys/arch/hp300/stand/if_le.c 1
./sys/arch/i386/eisa/eisa_machdep.c 1
./sys/arch/i386/i386/machdep.c 1
./sys/arch/i386/isa/pcvt/Util/fed/misc.c 6
./sys/arch/i386/isa/pcvt/Util/kcon/kcon.c 5
./sys/arch/i386/isa/pcvt/Util/loadfont/loadfont.c 2
./sys/arch/i386/isa/pcvt/Util/vttest/main.c 2
./sys/arch/i386/pci/pci_machdep.c 1
./sys/arch/mac68k/dev/if_ae.c 1
./sys/arch/mac68k/dev/z8530tty.c 7
./sys/arch/mac68k/mac68k/machdep.c 1
./sys/arch/mac68k/mac68k/pram.c 1
./sys/arch/mvme68k/mvme68k/autoconf.c 1
./sys/arch/mvme68k/mvme68k/machdep.c 4
./sys/arch/mvme68k/stand/netboot/if_ie.c 1
./sys/arch/mvme68k/stand/netboot/if_le.c 1
./sys/arch/mvme68k/stand/wrtvid/wrtvid.c 2
./sys/arch/pc532/dev/lpt.c 1
./sys/arch/pc532/stand/test.c 1
./sys/arch/pica/dev/if_sn.c 6
./sys/arch/pica/pica/disksubr.c 1
./sys/arch/pica/pica/trap.c 1
./sys/arch/pmax/dev/rz.c 1
./sys/arch/pmax/pmax/trap.c 1
./sys/arch/sparc/dev/if_ie.c 2
./sys/arch/sparc/sparc/autoconf.c 11
./sys/arch/sparc/sparc/cpu.c 8
./sys/arch/sparc/stand/boot.c 1
./sys/arch/sparc/stand/netif_sun.c 4
./sys/arch/sparc/stand/promdev.c 1
./sys/arch/sun3/dev/if_ie.c 2
./sys/arch/sun3/stand/libsa/netif_sun.c 4
./sys/arch/vax/if/if_de.c 1
./sys/arch/vax/if/if_qe.c 1
./sys/arch/vax/vax/db_disasm.c 4
./sys/arch/x68k/dev/if_ed.c 1
./sys/arch/x68k/dev/if_se.c 2
./sys/arch/x68k/dev/ite.c 1
./sys/arch/x68k/usr.sbin/poffd/poffd.c 1
./sys/arch/x68k/x68k/machdep.c 1
./sys/arch/x68k/x68k/swapgeneric.c 1
./sys/dev/ccd.c 1
./sys/dev/eisa/eisa.c 3
./sys/dev/ic/aic7xxx.c 1
./sys/dev/ic/am7990.c 5
./sys/dev/ic/elink3.c 1
./sys/dev/isa/gus.c 1
./sys/dev/isa/if_ed.c 1
./sys/dev/isa/if_eg.c 1
./sys/dev/isa/if_el.c 2
./sys/dev/isa/if_fe.c 1
./sys/dev/isa/if_hp.c 1
./sys/dev/isa/if_ie.c 2
./sys/dev/isa/if_iy.c 1
./sys/dev/isa/pas.c 2
./sys/dev/isa/sb.c 1
./sys/dev/pci/if_de.c 2
./sys/dev/pci/ncr.c 1
./sys/dev/pci/ncrstat.c 1
./sys/dev/pci/pci_subr.c 10
./sys/dev/ramdisk.c 1
./sys/dev/sun/kbd.c 1
./sys/dev/tc/tc.c 2
./sys/dev/vnd.c 1
./sys/kern/exec_script.c 1
./sys/kern/kern_sig.c 1
./sys/kern/subr_autoconf.c 1
./sys/kern/subr_prf.c 3
./sys/lib/libsa/arp.c 3
./sys/lib/libsa/ether.c 2
./sys/lib/libsa/printf.c 2
./sys/lib/libsa/strerror.c 1
./sys/miscfs/fdesc/fdesc_vnops.c 1
./sys/miscfs/kernfs/kernfs_vnops.c 3
./sys/miscfs/procfs/procfs_status.c 14
./sys/miscfs/procfs/procfs_vnops.c 3
./sys/net/if_arcsubr.c 1
./sys/net/if_ethersubr.c 1
./sys/net/if_loop.c 1
./sys/net/if_ppp.c 1
./sys/net/if_sl.c 1
./sys/net/if_strip.c 2
./sys/net/if_tun.c 1
./sys/netccitt/pk_input.c 1
./sys/netccitt/pk_subr.c 1
./sys/netinet/if_ether.c 2
./sys/netinet/ip_mroute.c 1
./sys/netiso/clnp_debug.c 2
./sys/netiso/if_eon.c 1
./sys/netiso/xebec/main.c 1
./sys/netiso/xebec/sets.c 2
./sys/netns/ns_ip.c 4
./sys/scsi/ss_scanjet.c 9
./usr.bin/apply/apply.c 4
./usr.bin/apropos/apropos.c 1
./usr.bin/ar/archive.c 3
./usr.bin/ar/misc.c 1
./usr.bin/at/at.c 1
./usr.bin/cal/cal.c 3
./usr.bin/chpass/edit.c 1
./usr.bin/chpass/pw_yp.c 1
./usr.bin/chpass/util.c 1
./usr.bin/ctags/ctags.c 2
./usr.bin/ctags/tree.c 1
./usr.bin/finger/lprint.c 5
./usr.bin/finger/util.c 2
./usr.bin/from/from.c 3
./usr.bin/fstat/fstat.c 2
./usr.bin/ftp/ftp.c 1
./usr.bin/ftp/ruserpass.c 1
./usr.bin/gprof/printgprof.c 5
./usr.bin/hexdump/conv.c 1
./usr.bin/indent/args.c 1
./usr.bin/indent/indent.c 4
./usr.bin/ipcs/ipcs.c 1
./usr.bin/jot/jot.c 1
./usr.bin/kdump/kdump.c 1
./usr.bin/lam/lam.c 3
./usr.bin/less/less/charset.c 4
./usr.bin/less/less/filename.c 8
./usr.bin/less/less/help.c 3
./usr.bin/less/less/line.c 1
./usr.bin/less/less/lsystem.c 1
./usr.bin/less/less/option.c 1
./usr.bin/less/less/os.c 2
./usr.bin/less/less/prompt.c 2
./usr.bin/less/less/regexp.c 2
./usr.bin/less/less/screen.c 1
./usr.bin/lex/gen.c 3
./usr.bin/lex/main.c 2
./usr.bin/lex/misc.c 6
./usr.bin/lex/nfa.c 3
./usr.bin/login/k5login.c 2
./usr.bin/login/klogin.c 2
./usr.bin/mail/cmd1.c 1
./usr.bin/mail/fio.c 6
./usr.bin/mail/lex.c 1
./usr.bin/mail/v7.local.c 1
./usr.bin/make/arch.c 6
./usr.bin/make/job.c 3
./usr.bin/make/main.c 4
./usr.bin/make/targ.c 1
./usr.bin/make/util.c 7
./usr.bin/man/man.c 1
./usr.bin/msgs/msgs.c 9
./usr.bin/netstat/if.c 1
./usr.bin/netstat/inet.c 4
./usr.bin/netstat/iso.c 5
./usr.bin/netstat/mroute.c 1
./usr.bin/netstat/ns.c 1
./usr.bin/netstat/route.c 17
./usr.bin/newsyslog/newsyslog.c 3
./usr.bin/nm/nm.c 1
./usr.bin/passwd/krb5_passwd.c 2
./usr.bin/patch/backupfile.c 1
./usr.bin/printf/printf.c 1
./usr.bin/quota/quota.c 6
./usr.bin/ranlib/build.c 1
./usr.bin/ranlib/touch.c 1
./usr.bin/rlogin/kcmd.c 1
./usr.bin/rpcgen/rpc_parse.c 3
./usr.bin/rpcgen/rpc_svcout.c 16
./usr.bin/rpcgen/rpc_util.c 1
./usr.bin/rup/rup.c 3
./usr.bin/ruptime/ruptime.c 3
./usr.bin/rusers/rusers.c 5
./usr.bin/rwho/rwho.c 1
./usr.bin/size/size.c 1
./usr.bin/su/su.c 2
./usr.bin/systat/iostat.c 1
./usr.bin/systat/main.c 1
./usr.bin/systat/mbufs.c 1
./usr.bin/systat/netstat.c 4
./usr.bin/systat/pigs.c 1
./usr.bin/systat/vmstat.c 2
./usr.bin/telnet/commands.c 1
./usr.bin/telnet/telnet.c 3
./usr.bin/telnet/utilities.c 1
./usr.bin/tip/aculib/biz22.c 1
./usr.bin/tip/aculib/biz31.c 1
./usr.bin/tip/aculib/courier.c 1
./usr.bin/tip/aculib/hayes.c 1
./usr.bin/tip/aculib/t3000.c 1
./usr.bin/tip/aculib/ventel.c 1
./usr.bin/tip/cmds.c 4
./usr.bin/tip/cu.c 1
./usr.bin/tip/tip.c 1
./usr.bin/tip/uucplock.c 3
./usr.bin/tn3270/api/api_exch.c 1
./usr.bin/tn3270/ascii/map3270.c 1
./usr.bin/tn3270/ctlr/inbound.c 1
./usr.bin/tn3270/ctlr/outbound.c 5
./usr.bin/tn3270/sys_curses/system.c 4
./usr.bin/tn3270/sys_curses/termout.c 1
./usr.bin/tn3270/tools/mkhits/dohits.c 2
./usr.bin/tn3270/tools/prt3270.c 3
./usr.bin/vi/common/api.c 3
./usr.bin/vi/common/msg.c 4
./usr.bin/wall/wall.c 2
./usr.bin/whatis/whatis.c 1
./usr.bin/window/error.c 1
./usr.bin/window/lcmd1.c 1
./usr.bin/window/lcmd2.c 4
./usr.bin/window/startup.c 1
./usr.bin/window/string.c 1
./usr.bin/window/ttzapple.c 2
./usr.bin/window/wwdump.c 1
./usr.bin/window/wwenviron.c 2
./usr.bin/window/wwinit.c 2
./usr.bin/window/wwprintf.c 1
./usr.bin/window/wwterminfo.c 3
./usr.bin/write/write.c 2
./usr.bin/xlint/lint1/emit.c 1
./usr.bin/xlint/lint2/main2.c 1
./usr.bin/xlint/lint2/msg.c 2
./usr.bin/xlint/xlint/xlint.c 13
./usr.bin/yacc/reader.c 1
./usr.sbin/amd/amd/afs_ops.c 5
./usr.sbin/amd/amd/am_ops.c 1
./usr.sbin/amd/amd/amd.c 1
./usr.sbin/amd/amd/host_ops.c 1
./usr.sbin/amd/amd/info_hes.c 2
./usr.sbin/amd/amd/info_passwd.c 1
./usr.sbin/amd/amd/info_union.c 3
./usr.sbin/amd/amd/mapc.c 2
./usr.sbin/amd/amd/mount_fs.c 2
./usr.sbin/amd/amd/nfs_ops.c 1
./usr.sbin/amd/amd/opts.c 1
./usr.sbin/amd/amd/util.c 1
./usr.sbin/amd/amd/xutil.c 2
./usr.sbin/amd/fsinfo/fsi_analyze.c 2
./usr.sbin/amd/fsinfo/fsi_util.c 4
./usr.sbin/amd/fsinfo/fsinfo.c 1
./usr.sbin/amd/mk-amd-map/mk-amd-map.c 6
./usr.sbin/bad144/bad144.c 4
./usr.sbin/bootpd/bootptest.c 1
./usr.sbin/bootpd/getether.c 1
./usr.sbin/bootpd/hwaddr.c 2
./usr.sbin/bootpd/readfile.c 1
./usr.sbin/bootpd/report.c 1
./usr.sbin/catman/catman.c 6
./usr.sbin/config.old/main.c 4
./usr.sbin/config.old/mkglue.c 2
./usr.sbin/config.old/mkioconf.c 1
./usr.sbin/config.old/mkmakefile.c 9
./usr.sbin/config.old/mkswapconf.c 3
./usr.sbin/config.old/mkubglue.c 1
./usr.sbin/config.old/specfile.c 1
./usr.sbin/config/main.c 4
./usr.sbin/config/mkheaders.c 1
./usr.sbin/config/mkioconf.c 4
./usr.sbin/config/mkmakefile.c 4
./usr.sbin/config/mkswap.c 3
./usr.sbin/config/sem.c 2
./usr.sbin/config/util.c 2
./usr.sbin/cron/compat.c 2
./usr.sbin/cron/crontab.c 8
./usr.sbin/cron/database.c 1
./usr.sbin/cron/do_command.c 1
./usr.sbin/cron/entry.c 5
./usr.sbin/cron/env.c 1
./usr.sbin/cron/misc.c 8
./usr.sbin/edquota/edquota.c 7
./usr.sbin/eeprom/eehandlers.c 8
./usr.sbin/eeprom/ophandlers.c 4
./usr.sbin/gspa/gspa/gsp_lex.c 1
./usr.sbin/gspa/gspa/gsp_sym.c 1
./usr.sbin/gspa/gspa/gspa.c 1
./usr.sbin/inetd/inetd.c 5
./usr.sbin/lpr/common_source/displayq.c 2
./usr.sbin/lpr/common_source/rmjob.c 1
./usr.sbin/lpr/common_source/startdaemon.c 1
./usr.sbin/lpr/lpc/cmds.c 10
./usr.sbin/lpr/lpd/lpd.c 1
./usr.sbin/lpr/lpd/printjob.c 10
./usr.sbin/lpr/lpr/lpr.c 5
./usr.sbin/mrouted/inet.c 6
./usr.sbin/mrouted/main.c 2
./usr.sbin/mrouted/prune.c 1
./usr.sbin/mrouted/snmp.c 2
./usr.sbin/mtrace/mtrace.c 4
./usr.sbin/named/dig/dig.c 4
./usr.sbin/named/host/host.c 33
./usr.sbin/named/named/db_dump.c 4
./usr.sbin/named/named/db_glue.c 6
./usr.sbin/named/named/ns_forw.c 2
./usr.sbin/named/named/ns_init.c 1
./usr.sbin/named/named/ns_main.c 2
./usr.sbin/named/named/ns_maint.c 5
./usr.sbin/named/named/ns_req.c 1
./usr.sbin/named/named/ns_resp.c 4
./usr.sbin/named/named/ns_stats.c 6
./usr.sbin/named/nslookup/getinfo.c 3
./usr.sbin/named/nslookup/list.c 2
./usr.sbin/named/nslookup/main.c 2
./usr.sbin/named/nslookup/subr.c 1
./usr.sbin/pppd/chap.c 2
./usr.sbin/pppd/chat/chat.c 3
./usr.sbin/pppd/gencode.c 1
./usr.sbin/pppd/ipcp.c 2
./usr.sbin/pppd/main.c 6
./usr.sbin/pppd/sys-bsd.c 1
./usr.sbin/quot/quot.c 2
./usr.sbin/quotaon/quotaon.c 3
./usr.sbin/rarpd/rarpd.c 2
./usr.sbin/rbootd/bpf.c 1
./usr.sbin/repquota/repquota.c 7
./usr.sbin/rmt/rmt.c 4
./usr.sbin/rpc.pcnfsd/pcnfsd_misc.c 2
./usr.sbin/rpc.pcnfsd/pcnfsd_print.c 16
./usr.sbin/rpc.pcnfsd/pcnfsd_test.c 1
./usr.sbin/rwhod/rwhod.c 4
./usr.sbin/sendmail/mail.local/mail.local.c 4
./usr.sbin/sendmail/src/alias.c 1
./usr.sbin/sendmail/src/conf.c 5
./usr.sbin/sendmail/src/convtime.c 7
./usr.sbin/sendmail/src/daemon.c 11
./usr.sbin/sendmail/src/deliver.c 18
./usr.sbin/sendmail/src/domain.c 2
./usr.sbin/sendmail/src/envelope.c 6
./usr.sbin/sendmail/src/err.c 6
./usr.sbin/sendmail/src/headers.c 15
./usr.sbin/sendmail/src/main.c 3
./usr.sbin/sendmail/src/map.c 14
./usr.sbin/sendmail/src/mci.c 5
./usr.sbin/sendmail/src/mime.c 4
./usr.sbin/sendmail/src/parseaddr.c 1
./usr.sbin/sendmail/src/queue.c 2
./usr.sbin/sendmail/src/savemail.c 27
./usr.sbin/sendmail/src/udb.c 2
./usr.sbin/sendmail/src/usersmtp.c 3
./usr.sbin/sendmail/src/util.c 18
./usr.sbin/sliplogin/sliplogin.c 5
./usr.sbin/syslogd/syslogd.c 7
./usr.sbin/tcpdump/addrtoname.c 3
./usr.sbin/tcpdump/print-atalk.c 4
./usr.sbin/tcpdump/print-decnet.c 1
./usr.sbin/tcpdump/print-icmp.c 16
./usr.sbin/tcpdump/print-ipx.c 1
./usr.sbin/tcpdump/print-snmp.c 2
./usr.sbin/tcpdump/util.c 1
./usr.sbin/videomode/videomode.c 1
./usr.sbin/ypbind/ypbind.c 4