Return values
This commit is contained in:
parent
425ddb3ff2
commit
e98e8717be
|
@ -8,9 +8,13 @@
|
|||
|
||||
char *
|
||||
btszero(b, n)
|
||||
register char *b;
|
||||
char *b;
|
||||
register int n;
|
||||
{
|
||||
register char *s = b;
|
||||
|
||||
while (n-- > 0)
|
||||
*b++ = '\0';
|
||||
*s++ = '\0';
|
||||
|
||||
return b;
|
||||
}
|
||||
|
|
|
@ -11,4 +11,5 @@ strzero(s)
|
|||
char *s;
|
||||
{
|
||||
*s = '\0';
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue