home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
191.lha
/
ARequester
/
trim.c
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-04-28
|
202 b
|
19 lines
#include <exec/types.h>
UBYTE *trim(str)
REGS UBYTE *str;
{
REGS UBYTE *tmp;
tmp = str + strlen(str);
while( --tmp >= str )
{
if( *tmp != ' ')
break;
*tmp = '\0';
}
return(str);
}