home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoft Programmer's Library 1.3
/
Microsoft-Programers-Library-v1.3.iso
/
sampcode
/
prof_c
/
05oslib
/
dos
/
next_fm.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1988-08-11
|
290 b
|
19 lines
/*
* next_fm - find next file match in work directory
*/
#include <dos.h>
#include <local\doslib.h>
int
next_fm()
{
union REGS inregs, outregs;
/* find next matching file */
inregs.h.ah = FIND_NEXT;
(void)intdos(&inregs, &outregs);
return (outregs.x.cflag);
}