wok view syslinux/stuff/iso2exe/libdos.h @ rev 16041

syslinux/iso2exe: fix 'a la umsdos' install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 09 14:09:57 2014 +0000 (2014-03-09)
parents
children 3e7ad70145ce
line source
1 #ifndef __LIBDOS_H
2 #define __LIBDOS_H
3 #undef __SLEEP
4 # ifdef __MSDOS__
5 // extern void sleep(int seconds);
6 extern char *progname(void);
7 extern int chdir(char *path);
8 extern int chdirname(char *path);
9 # else
10 #define progname() argv[0]
11 #define chdirname(x) chdir(dirname(x))
12 # endif
13 #endif