From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: _dos_findfirst Date: 23 Jan 2001 14:24:00 GMT Organization: Aachen University of Technology (RWTH) Lines: 26 Message-ID: <94k460$m16$1@nets3.rz.RWTH-Aachen.DE> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 980259840 22566 137.226.32.75 (23 Jan 2001 14:24:00 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 23 Jan 2001 14:24:00 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Terje wrote: > unsigned int _dos_findfirst(char *name, unsigned int attr, struct find_t > *result); [...] > Could anyone tell me what *result returns? The docs can, if you read them a bit more carefully... [...] > But this is not of importance, I just want to know what the > result.wr_time holds, if its seconds since midnight or something > like that. More 'something like that'. Look up the help of the function one level higher in abstraction, findfirst(), and you'll see that it's a bitfield. There's a comment saying how many of the bits of the field are used for hours, minutes and seconds, each. If all else fails, consult Ralph Brown's Interrupt List. _dos_findfirst() is a direct DOS interrupt call, anyway, so its behaviour is exactly what RBIL says it is, including any returned information. -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.