Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Escape to hex character code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Escape to hex character code



At 18:37 -0500 5/1/06, Keith Esau wrote:
>Hmmm, a filename CANNOT contain a null without there being an IO error...

On what file system? It's certainly acceptable on HFS and HFS+. The problem is with the API used to access such filenames. On MacOSX, it's problematic, as just about everything gets distilled down to Posix calls, which are C-based, which use the null character as string terminators (as does MPW - notice how I managed to weave that in? :-) ) On Mac OS 9, though, it's certainly possible to use the HFS API to manipulate filenames containing NULL characters, or just about any other character, for that matter. Of course, the ':' character was used as a pathname separator, so it may be somewhat difficult to use it in a filename.

--
Greg
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
MPW-Dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Escape to hex character code (From: Keith Esau <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.