That is somewhat close to what I figured. Assuming that is what it does, is there no better (more standard) way of doing this? I assume it is an undocumented way of doing things since google didn't tell me what it does.
/ Marcus Agehall (Scanian)
Previous text:
2004-04-06 16:22: Subject: WINAPI
From reading the code, __dtoxmode() seems to translate from DOS file attributes to UNIX protection mode flags.
/ Henrik Grubbström (Lysator)