wok-6.x annotate syslinux/stuff/iso2exe/libdos.h @ rev 13691

syslinux: add iso2exe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 14:33:27 2012 +0100 (2012-12-13)
parents
children 3e7ad70145ce
rev   line source
pascal@13691 1 #ifndef __LIBDOS_H
pascal@13691 2 #define __LIBDOS_H
pascal@13691 3 #undef __SLEEP
pascal@13691 4 # ifdef __MSDOS__
pascal@13691 5 // extern void sleep(int seconds);
pascal@13691 6 extern char *progname(void);
pascal@13691 7 extern int chdir(char *path);
pascal@13691 8 extern int chdirname(char *path);
pascal@13691 9 # else
pascal@13691 10 #define progname() argv[0]
pascal@13691 11 #define chdirname(x) chdir(dirname(x))
pascal@13691 12 # endif
pascal@13691 13 #endif