Subversion Repositories SvarDOS

Rev

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

Rev 426 Rev 430
Line 137... Line 137...
137
void file_fname2fcb(char *dst, const char *src);
137
void file_fname2fcb(char *dst, const char *src);
138
 
138
 
139
/* converts a FCB filename (FILENAMEEXT) into normal format (FILENAME.EXT) */
139
/* converts a FCB filename (FILENAMEEXT) into normal format (FILENAME.EXT) */
140
void file_fcb2fname(char *dst, const char *src);
140
void file_fcb2fname(char *dst, const char *src);
141
 
141
 
142
/* converts an ASCIIZ string into an unsigned short. returns 0 on success. */
142
/* converts an ASCIIZ string into an unsigned short. returns 0 on success.
-
 
143
 * on error, result will contain all valid digits that were read until
-
 
144
 * error occurred (0 on overflow or if parsing failed immediately) */
143
int atous(unsigned short *r, const char *s);
145
int atous(unsigned short *r, const char *s);
144
 
146
 
145
/* appends a backslash if path is a directory
147
/* appends a backslash if path is a directory
146
 * returns the (possibly updated) length of path */
148
 * returns the (possibly updated) length of path */
147
unsigned short path_appendbkslash_if_dir(char *path);
149
unsigned short path_appendbkslash_if_dir(char *path);