Subversion Repositories SvarDOS

Rev

Rev 1360 | Rev 1409 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1360 Rev 1364
Line 45... Line 45...
45
/* fetches directory where the program was loaded from and return its length.
45
/* fetches directory where the program was loaded from and return its length.
46
 * path string is never longer than 128 (incl. the null terminator) and it is
46
 * path string is never longer than 128 (incl. the null terminator) and it is
47
 * always terminated with a backslash separator, unless it is an empty string */
47
 * always terminated with a backslash separator, unless it is an empty string */
48
unsigned char mdr_dos_exepath(char *path);
48
unsigned char mdr_dos_exepath(char *path);
49
 
49
 
-
 
50
/* returns a far pointer to the full path and filename of the running program.
-
 
51
 * returns NULL on error. */
-
 
52
const char far *mdr_dos_selfexe(void);
-
 
53
 
50
/* converts a "DOS format" 16-bit packed date into a standard (time_t)
54
/* converts a "DOS format" 16-bit packed date into a standard (time_t)
51
 * unix timestamp. A DOS date is a 16-bit value:
55
 * unix timestamp. A DOS date is a 16-bit value:
52
 * YYYYYYYM MMMDDDDD
56
 * YYYYYYYM MMMDDDDD
53
 *
57
 *
54
 * day of month is always within 1-31 range;
58
 * day of month is always within 1-31 range;