home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frostbyte's 1980s DOS Shareware Collection
/
floppyshareware.zip
/
floppyshareware
/
GLEN
/
IS.ZIP
/
IS_SYS.C
< prev
next >
Wrap
C/C++ Source or Header
|
1988-10-26
|
390b
|
22 lines
/*
** is-sys.c source modules for 'sys' functions of IS
*/
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "is.h"
int is_sys(char *fun, char *ret_str)
{
int ret = OK;
if((strncmp(fun, "sysdate", 7) == 0))
_strdate(ret_str);
else if((strncmp(fun, "systime", 7) == 0))
_strtime(ret_str);
return(ret);
}