1: /* @(#)strlen.c 2.1 SCCS id keyword */
2: /*
3: * Returns the number of
4: * non-NULL bytes in string argument.
5: */
6:
7: strlen(s)
8: register char *s;
9: {
10: register n;
11:
12: n = 0;
13: while (*s++)
14: n++;
15: return(n);
16: }
Defined functions
strlen
defined in line
7; used 552 times
- in /usr/include/macros.h line
14-15(2)
- in /usr/src/cmd/512dumpdir.c line
195
- in /usr/src/cmd/at.c line
132
- in /usr/src/cmd/awk/run.c line
255,
360,
374,
514(2),
749,
782
- in /usr/src/cmd/awk/tran.c line
220
- in /usr/src/cmd/col.c line
215
- in /usr/src/cmd/cu.3451A.c line
187-188(2),
355,
559,
980
- in /usr/src/cmd/cu.c line
160-161(2),
436,
843
- in /usr/src/cmd/deroff.c line
488
- in /usr/src/cmd/df.c line
128
- in /usr/src/cmd/diff/diff.c line
143
- in /usr/src/cmd/dumpdir.c line
157
- in /usr/src/cmd/eqn/lex.c line
192
- in /usr/src/cmd/expr.y line
224
- in /usr/src/cmd/f77/defines line
239
- in /usr/src/cmd/f77/driver.c line
951
- in /usr/src/cmd/f77/exec.c line
231
- in /usr/src/cmd/f77/expr.c line
240
- in /usr/src/cmd/f77/io.c line
364
- in /usr/src/cmd/f77/misc.c line
200
- in /usr/src/cmd/f77/proc.c line
642
- in /usr/src/cmd/file.c line
51
- in /usr/src/cmd/find.c line
55,
410,
717
- in /usr/src/cmd/init.c line
549-553(3)
- in /usr/src/cmd/learn/copy.c line
53
- in /usr/src/cmd/learn/start.c line
24
- in /usr/src/cmd/login.c line
382
- in /usr/src/cmd/ls/symlnk_ls.c line
461
- in /usr/src/cmd/ls/symlnk_ucbls.c line
363,
450,
693,
1471
- in /usr/src/cmd/ls/ucbls.c line
354,
441,
684
- in /usr/src/cmd/m4/m4.c line
527,
566,
641,
704-705(2)
- in /usr/src/cmd/mail.c line
321
- in /usr/src/cmd/make/misc.c line
88,
326
- in /usr/src/cmd/man.c line
147,
212,
221,
231
- in /usr/src/cmd/mkdir.c line
66
- in /usr/src/cmd/mv.c line
181,
199,
321
- in /usr/src/cmd/neqn/lex.c line
192
- in /usr/src/cmd/newgrp.c line
91
- in /usr/src/cmd/passwd.c line
80
- in /usr/src/cmd/ps/ps.c line
692,
984-986(2)
- in /usr/src/cmd/ratfor/r2.c line
69,
139
- in /usr/src/cmd/ratfor/rlook.c line
64
- in /usr/src/cmd/refer/refer/hunt7.c line
55
- in /usr/src/cmd/refer/refer/refer2.c line
27,
35
- in /usr/src/cmd/refer/refer/refer5.c line
281
- in /usr/src/cmd/refer/refer/refer7.c line
16
- in /usr/src/cmd/refer/util/flagger.c line
42
- in /usr/src/cmd/refer/util/glue3.c line
25,
53-54(2)
- in /usr/src/cmd/refer/util/inv2.c line
31-35(3),
76
- in /usr/src/cmd/refer/util/mkey2.c line
53,
78
- in /usr/src/cmd/refer/util/refer2.c line
24-26(3),
88-93(5),
99-100(2),
134-135(2)
- in /usr/src/cmd/refer/util/refer3.c line
19
- in /usr/src/cmd/refer/util/refer4.c line
12,
45
- in /usr/src/cmd/refer/util/refer5.c line
72
- in /usr/src/cmd/refer/util/thash.c line
62,
90
- in /usr/src/cmd/refer/util/what3.c line
69
- in /usr/src/cmd/refer/util/what4.c line
36
- in /usr/src/cmd/rmdir.c line
43,
104,
112-114(2)
- in /usr/src/cmd/savecore.c line
122,
265(2)
- in /usr/src/cmd/shutdown.c line
248
- in /usr/src/cmd/tar.c line
581
- in /usr/src/cmd/tbl/t3.c line
51
- in /usr/src/cmd/test.c line
177-178(2)
- in /usr/src/cmd/tp/tp1.c line
178
- in /usr/src/cmd/uucp/4.2/condevs.c line
426,
580,
589,
727,
738,
858,
989,
1096,
1272,
1299,
1317,
1410
- in /usr/src/cmd/uucp/DIALUP/condevs.c line
427,
581,
590,
728,
739,
859,
990,
1097,
1293,
1456
- in /usr/src/cmd/uucp/LIBNDIR/readdir.c line
46
- in /usr/src/cmd/uucp/anlwrk.c line
138,
156,
222-223(2),
323
- in /usr/src/cmd/uucp/cfgets.c line
28
- in /usr/src/cmd/uucp/chkpth.c line
123,
138-140(2)
- in /usr/src/cmd/uucp/cico.c line
295,
464
- in /usr/src/cmd/uucp/cntrl.c line
808
- in /usr/src/cmd/uucp/condevs.c line
427,
581,
590,
728,
739,
859,
990,
1097,
1275,
1413
- in /usr/src/cmd/uucp/dial.c line
74,
184
- in /usr/src/cmd/uucp/gename.c line
66
- in /usr/src/cmd/uucp/gio.c line
77
- in /usr/src/cmd/uucp/gnsys.c line
65-67(2),
123
- in /usr/src/cmd/uucp/gwd.c line
29
- in /usr/src/cmd/uucp/imsg.c line
75
- in /usr/src/cmd/uucp/lastpart.c line
19
- in /usr/src/cmd/uucp/subdir.c line
66,
79
- in /usr/src/cmd/uucp/syskludge/syskludge.c line
61,
72
- in /usr/src/cmd/uucp/ulockf.c line
88
- in /usr/src/cmd/uucp/uucp.c line
119,
128
- in /usr/src/cmd/uucp/uucpname.c line
193-196(2),
204
- in /usr/src/cmd/uucp/uulog.c line
46
- in /usr/src/cmd/uucp/uusend.c line
227,
246
- in /usr/src/cmd/uucp/uusnap.c line
74,
123,
143
- in /usr/src/cmd/uucp/uuxqt.c line
109,
116,
167-168(2),
198
- in /usr/src/cmd/xsend/xget.c line
82
- in /usr/src/cmd/xsend/xsend.c line
28,
106
- in /usr/src/games/banner.c line
1044
- in /usr/src/games/fortune/unstr.c line
79
- in /usr/src/games/snake/move.c line
89,
573,
589-590(2)
- in /usr/src/games/snake/snscore.c line
49
- in /usr/src/lib/ape/min.c line
98
- in /usr/src/lib/ape/mout.c line
52,
111
- in /usr/src/lib/c/gen/disktab.c line
25
- in /usr/src/lib/c/gen/perror.c line
19-24(2)
- in /usr/src/lib/c/gen/psignal.c line
20-25(2)
- in /usr/src/lib/curses/cr_put.c line
127,
292
- in /usr/src/lib/curses/refresh.c line
159
- in /usr/src/lib/curses/scanw.c line
49
- in /usr/src/lib/libF77/mkindx.c line
49
- in /usr/src/lib/libI77/lio.h line
26
- in /usr/src/lib/libI77/mkindx.c line
49
- in /usr/src/lib/libI77/old_io.c line
342
- in /usr/src/lib/libI77/open.c line
84,
147
- in /usr/src/lib/libI77/wrtfmt.c line
210
- in /usr/src/lib/libU77/mkindx.c line
49
- in /usr/src/lib/libU77/tapeio.c line
288
- in /usr/src/local/seqn/lex.c line
194
- in /usr/src/sys/autoconfig/args.c line
75
- in /usr/src/sys/autoconfig/main.c line
79
- in /usr/src/ucb/Mail/aux.c line
235,
278-280(3),
289,
634
- in /usr/src/ucb/Mail/cmd1.c line
80,
199,
215,
250-253(2)
- in /usr/src/ucb/Mail/cmd2.c line
232,
262,
468
- in /usr/src/ucb/Mail/cmd3.c line
108,
115-116(2),
287,
677-679(2),
805
- in /usr/src/ucb/Mail/collect.c line
858(2)
- in /usr/src/ucb/Mail/fio.c line
133
- in /usr/src/ucb/Mail/fmt.c line
170,
287,
337,
391
- in /usr/src/ucb/Mail/getname.c line
76
- in /usr/src/ucb/Mail/head.c line
111
- in /usr/src/ucb/Mail/lex.c line
159,
594-595(2)
- in /usr/src/ucb/Mail/list.c line
566
- in /usr/src/ucb/Mail/main.c line
263
- in /usr/src/ucb/Mail/names.c line
65,
119,
782
- in /usr/src/ucb/Mail/optim.c line
29,
37,
109,
447,
494(2),
576-578(2),
603-605(2),
630-632(2),
821,
876
- in /usr/src/ucb/Mail/send.c line
46,
186,
519
- in /usr/src/ucb/Mail/temp.c line
35
- in /usr/src/ucb/Mail/tty.c line
124,
170,
179
- in /usr/src/ucb/Mail/vars.c line
62
- in /usr/src/ucb/berknet/environ.c line
56
- in /usr/src/ucb/berknet/mmail.c line
110
- in /usr/src/ucb/berknet/mwrite.c line
119,
125
- in /usr/src/ucb/berknet/net.c line
160-161(2),
171-172(2),
190-194(2),
314,
334,
422,
438
- in /usr/src/ucb/berknet/netdaemon.c line
68,
79,
196,
468,
846,
885
- in /usr/src/ucb/berknet/netq.c line
54,
64,
144
- in /usr/src/ucb/berknet/netrm.c line
48,
93,
100
- in /usr/src/ucb/berknet/prmail.c line
114
- in /usr/src/ucb/berknet/prot.c line
218
- in /usr/src/ucb/berknet/setup.c line
216
- in /usr/src/ucb/berknet/sub.c line
84,
372
- in /usr/src/ucb/csh/sh.dir.c line
76,
163(2)
- in /usr/src/ucb/csh/sh.func.c line
330,
553,
563
- in /usr/src/ucb/csh/sh.glob.c line
459(2)
- in /usr/src/ucb/csh/sh.lex.c line
432(2),
726,
734-735(2)
- in /usr/src/ucb/csh/sh.misc.c line
158(2)
- in /usr/src/ucb/csh/sh.proc.c line
472
- in /usr/src/ucb/csh/sh.set.c line
273,
545(2)
- in /usr/src/ucb/delivermail/alias.c line
238
- in /usr/src/ucb/delivermail/arpa.c line
399,
407,
429,
463
- in /usr/src/ucb/delivermail/err.c line
40
- in /usr/src/ucb/delivermail/main.c line
381(2)
- in /usr/src/ucb/delivermail/maketemp.c line
96,
167
- in /usr/src/ucb/delivermail/newaliases.c line
131,
159-161(2)
- in /usr/src/ucb/delivermail/parse.c line
173,
187,
251-254(2)
- in /usr/src/ucb/delivermail/showdbm.c line
33
- in /usr/src/ucb/delivermail/vax-mail.c line
82,
364
- in /usr/src/ucb/dump/src/dumpoptr.c line
169,
192,
302
- in /usr/src/ucb/dump/src/unctime.c line
29
- in /usr/src/ucb/error/errorinput.c line
231,
276
- in /usr/src/ucb/error/errorpi.c line
173,
210,
218-221(2),
239-241(2)
- in /usr/src/ucb/error/errorsubr.c line
62,
107,
128,
140,
157,
188,
389
- in /usr/src/ucb/error/errortouch.c line
405
- in /usr/src/ucb/ex/ex2/ex_cmdsub.c line
438
- in /usr/src/ucb/ex/ex2/ex_io.c line
282
- in /usr/src/ucb/ex/ex2/ex_put.c line
545
- in /usr/src/ucb/ex/ex2/ex_subr.c line
248
- in /usr/src/ucb/ex/ex2/ex_tty.c line
86
- in /usr/src/ucb/ex/ex2/ex_vget.c line
319(2)
- in /usr/src/ucb/ex/ex2/ex_vops.c line
355(2),
780
- in /usr/src/ucb/ex/ex2/ex_vops2.c line
325,
803-805(2),
811
- in /usr/src/ucb/ex/ex2/expreserve.c line
273,
288
- in /usr/src/ucb/ex/ex3/ex_cmdsub.c line
448,
560,
1180,
1194(2),
1236-1247(6)
- in /usr/src/ucb/ex/ex3/ex_io.c line
291
- in /usr/src/ucb/ex/ex3/ex_put.c line
586
- in /usr/src/ucb/ex/ex3/ex_subr.c line
249
- in /usr/src/ucb/ex/ex3/ex_vget.c line
336(2),
527(2)
- in /usr/src/ucb/ex/ex3/ex_vops.c line
440(2),
855
- in /usr/src/ucb/ex/ex3/ex_vops2.c line
324,
876-878(2),
884
- in /usr/src/ucb/ex/ex3/expreserve.c line
271,
286
- in /usr/src/ucb/l11/link.c line
200,
206
- in /usr/src/ucb/l11/sup.c line
121-122(2),
146-147(2)
- in /usr/src/ucb/libndir/readdir.c line
44
- in /usr/src/ucb/lpr/src/lpd.c line
319-331(4),
387
- in /usr/src/ucb/lpr/src/lpq.c line
214,
274,
386,
446
- in /usr/src/ucb/lpr/src/lpr.c line
186
- in /usr/src/ucb/lpr/src/printcap.c line
122,
145
- in /usr/src/ucb/m11/macxrf.c line
273,
319
- in /usr/src/ucb/oldcsh/sh.func.c line
352,
576,
586
- in /usr/src/ucb/oldcsh/sh.glob.c line
455(2)
- in /usr/src/ucb/oldcsh/sh.lex.c line
434(2),
726,
734-735(2)
- in /usr/src/ucb/oldcsh/sh.misc.c line
158(2)
- in /usr/src/ucb/oldcsh/sh.set.c line
270
- in /usr/src/ucb/pascal/pi/osubr.c line
28
- in /usr/src/ucb/pascal/pi/pix.c line
88
- in /usr/src/ucb/pascal/pi/string.c line
75
- in /usr/src/ucb/pascal/pi/subr.c line
29
- in /usr/src/ucb/pascal/pi/tree.c line
184
- in /usr/src/ucb/pascal/pi/yymain.c line
174
- in /usr/src/ucb/pascal/pxp/string.c line
38
- in /usr/src/ucb/pascal/pxp/subr.c line
26
- in /usr/src/ucb/pascal/pxp/tree.c line
181
- in /usr/src/ucb/pascal/pxp/yymain.c line
155
- in /usr/src/ucb/pascal/utilities/pix.c line
88
- in /usr/src/ucb/pwhash/src/cmd/ls.c line
343,
430,
674
- in /usr/src/ucb/pwhash/src/cmd/passwd.c line
95-98(2)
- in /usr/src/ucb/pwhash/src/libpasswd/pwtable.c line
56
- in /usr/src/ucb/sendmail/aux/arpa.c line
431,
439,
461,
495
- in /usr/src/ucb/sendmail/aux/getpwwho.c line
167-168(2)
- in /usr/src/ucb/sendmail/aux/syslog.c line
506,
1032,
1046
- in /usr/src/ucb/sendmail/aux/vacation.c line
187,
213,
349
- in /usr/src/ucb/sendmail/lib/libndir/readdir.c line
46
- in /usr/src/ucb/sendmail/lib/syslog.c line
106,
141,
160-163(2),
172
- in /usr/src/ucb/sendmail/src/alias.c line
119,
394,
419-420(2)
- in /usr/src/ucb/sendmail/src/collect.c line
99,
109,
155
- in /usr/src/ucb/sendmail/src/convtime.c line
122,
132-152(5)
- in /usr/src/ucb/sendmail/src/deliver.c line
192(2)
- in /usr/src/ucb/sendmail/src/err.c line
253,
278
- in /usr/src/ucb/sendmail/src/headers.c line
523,
706,
783
- in /usr/src/ucb/sendmail/src/parseaddr.c line
831
- in /usr/src/ucb/sendmail/src/recipient.c line
515(2)
- in /usr/src/ucb/sendmail/src/sendmail.h line
475
- in /usr/src/ucb/sendmail/src/srvrsmtp.c line
534
- in /usr/src/ucb/sendmail/src/util.c line
553,
709
- in /usr/src/ucb/termlib/tc1.c line
19
- in /usr/src/ucb/termlib/termcap.c line
130,
153
- in /usr/src/ucb/tset/tset.c line
1156,
1183,
1191,
1197
- in /usr/src/ucb/vgrind/regexp.c line
110
- in /usr/src/ucb/vgrind/vfontedpr.c line
411-412(2),
424-425(2),
437-438(2),
444-445(2)
- in /usr/src/ucb/vgrind/vgrindefs.c line
101,
124
- in /usr/src/ucb/vsh/cmdload.c line
48,
80,
92
- in /usr/src/ucb/vsh/dir.c line
50,
159
- in /usr/src/ucb/vsh/file.c line
149
- in /usr/src/ucb/vsh/grep.c line
16,
56
- in /usr/src/ucb/vsh/main.c line
54