Return values

This commit is contained in:
ceriel 1991-10-16 11:41:33 +00:00
parent 425ddb3ff2
commit e98e8717be
2 changed files with 7 additions and 2 deletions

View file

@ -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;
}

View file

@ -11,4 +11,5 @@ strzero(s)
char *s;
{
*s = '\0';
return s;
}