home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
MISC
/
MN325SRC.ZIP
/
makenl-3.2.5
/
src
/
oslnxget.c
< prev
next >
Wrap
C/C++ Source or Header
|
2005-02-06
|
328b
|
13 lines
/* $Id: oslnxget.c,v 1.2 2004/07/11 09:29:15 ozzmosis Exp $ */
char *os_fgets(char *buffer, size_t len, FILE * f)
{
char *result;
#undef fgets
result = fgets(buffer, len, f);
if (result != NULL && buffer[strlen(buffer) - 1] == ('Z' & 0x1F))
buffer[strlen(buffer) - 1] = 0;
return result;
}