[vorbis-dev] win32 question

Jeff Squyres jsquyres at lsc.nd.edu
Mon Feb 19 05:52:52 PST 2001



Does win32 have pathconf() and _PC_NAME_MAX?

I ask for ogg123 -- it uses "NAME_MAX" right now (already been mentioned
on this list a few times), which does not exist everywhere.

I've proposed changing it to use the pathconf() function, but I don't know
if win32 has this or not (I don't have, or want, access to win32 compilers
:-).

If win32 doesn't have pathconf(), we might have to do something like the
following in vorbis-tools/ogg123/ao_interface.c:

#ifdef win32
   /* code which can use the NAME_MAX constant */
#else
   /* code which uses pathconf() to get the maximum filename length */
#endif

{+} Jeff Squyres
{+} squyres at cse.nd.edu
{+} Perpetual Obsessive Notre Dame Student Craving Utter Madness
{+} "I came to ND for 4 years and ended up staying for a decade"

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list