projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
date and time created 87/02/15 16:03:45 by lepreau
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.ok
/
util
/
zeropad.c
static char
Sccsid
[]
"@(#)zeropad 2.2"
;
/*
Replace initial blanks with '0's in `str'.
Return `str'.
*/
char
*
zeropad
(
str
)
char
*
str
;
{
register
char
*
s
;
for
(
s
=
str
; *
s
==
' '
;
s
++)
*
s
=
'0'
;
return
(
str
);
}