home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
ENTERPRS
/
CPM
/
UTILS
/
S
/
SMC21LIB.LZH
/
PAD.C
< prev
next >
Wrap
Text File
|
2000-06-30
|
256b
|
16 lines
#define NOCCARGC
/*
** Place n occurences of ch at dest.
*/
pad(dest, ch, n) char *dest, *n; int ch; {
/*n is a fake unsigned integer*/
while(n--) *dest++ = ch;
}
d, t; d=0;
*nbr=0;
while((*octstr>'0')&(*octstr<='7')) {
t