On Thu Jun 18 18:55:30 EDT 2009, [email protected] wrote: > On Tue, Jun 16, 2009 at 4:01 PM, erik quanstrom <[email protected]> wrote: > > > > > I forgot, / is actually illegal. I'm almost (but not quite) certain that > > > \0 is legal, and if I understand my emacs correctly you may be able to > > > type it as ctrl-space. It displays as ^@ in emacs. > > > > > > > what system call do you use to create a file with \0 in the name? > > i'm not really keeping up, but last i checked creat doesn't take > > a filename length, and therefore the null will terminate the string. > > > > - erik > > > > According to intro(5), \0 is illegal in a 9P text string. "The NUL > character is illegal in all text strings in 9P, and is therefore > excluded from file names, user names, and so on." I'm assuming from > this that Thou Shall Not Use NUL In Filenames.
note the spelling of creat. intro(5) does not apply to unix. - erik
