Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!mucs!m1!bevan From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.os.misc Subject: Wierd filenames Message-ID: Date: 27 Nov 90 20:33:37 GMT Sender: news@cs.man.ac.uk Distribution: comp Organization: Department of Computer Science, University of Manchester Lines: 22 Are there any ASCII based OSs that allow you to create filenames that contain the ASCII character NUL? For example a file called :- stupid@file where `@' represents the NUL character. UNIX (SunOS 4.1 actually) seems to allow most other characters in the name e.g. a space, but I can't get it to accept a NUL. I am not really suprised by this given UNIX is implemented in C. Is there any system that does allow NUL in the name? If you know of one, could you (send me)/post details of how the file is created (e.g. shell script, fragment of C, ADA, BLISS, ... etc.) If the system has a C compiler, how does it react when you try and open the file using fopen? i.e. does it open it correctly (that would be bizarre) or does it try to open a file called `stupid'. Ta Stephen J. Bevan bevan@cs.man.ac.uk