home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 2
/
ctrom_ii_b.zip
/
ctrom_ii_b
/
PROGRAM
/
C
/
SMALL_C
/
PAD.C
< prev
next >
Wrap
Text File
|
1987-10-04
|
256b
|
9 lines
#define NOCCARGC /* no argument count passing */
/*
** Place n occurrences of ch at dest.
*/
pad(dest, ch, n) char *dest, *n; int ch; {
/* n is a fake unsigned integer */
while(n--) *dest++ = ch;
}