View Single Post
Old 06-08-2005, 12:42 AM   #5 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,709
redhead is on a distinguished road
After a quick read, heres what isn't too conforming with the ANSI/ISO standard:
Code:
In general:
   savescreen()      -> Need definition
   restscreen()      -> Need definition
   clrscreen()       -> Need definition
   findfile()        -> Need definition
   DeleteFile()      -> Need definition
   WriteString()     -> Need definition
   DOSFINDFIRST()    -> Need definition
   DOSFINDNEXT()     -> Need definition
   DOSFINDCLOSE()    -> Need definition


In message(), Process() and ExecuteProcess():
    DOSGETDATETIME() -> Since this takes a struct DateTime
                     I dont kow how that is used, but for
		     starters it can be exchanged with 
		     localtime() found in time.h which takes
		     a struct tm*
		      struct tm
                      {
                          int     tm_sec;         /* seconds */
                          int     tm_min;         /* minutes */
                          int     tm_hour;        /* hours */
                          int     tm_mday;        /* day of the month */
                          int     tm_mon;         /* month */
                          int     tm_year;        /* year */
                          int     tm_wday;        /* day of the week */
                          int     tm_yday;        /* day in the year */
                          int     tm_isdst;       /* daylight saving time */
                       };

In ProcessDailyList() and ExecuteProcess():
    WaitingForTime() -> Can be exchanged with sleep()

In Process():
   ExecuteEXE()      -> Need definition ( Could be exchanged by execv() or execvp() )
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote