Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!snorkelwacker!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!uhccux!bt455s10 From: bt455s10@uhccux.uhcc.hawaii.edu (Carl "Art" McIntosh) Newsgroups: comp.sys.ncr Subject: mkdir() Keywords: OS 2.01.00 mkdir() Message-ID: <5849@uhccux.uhcc.hawaii.edu> Date: 29 Dec 89 00:16:57 GMT Organization: University of Hawaii Lines: 15 I recently installed Larry Wall's fine program 'perl' on our NCR Tower 32/650 here at work, we are running NCR OS 2.01.00. The perl is version 3.0, patch- level 8. The thing compiles fine, except for eval.c and teval.c which the compiler can't optimize due to 'too many labels'. Anyhow, no sweat, the executable runs fine, and who cares if 1 module wasn't optimized. When I ran 'make test', all the tests were successful except for op.mkdir. op.mkdir test 3 failed. Hmmmm.... I say, lets 'man 2 mkdir'. Not found. The NCR programmers reference doesn't show hide nor hair of a mkdir(). Configure defined it in config.sh .... must have found it somewhere .... now try ar -tv /lib/libc.a | fgrep mkdir. Lo and behold! mkdir.o is in libc.a! How come this hummer isn't documented in the refs and no man page exists for it ? Does it work ? main() { mkdir("foo") } sure does work, guess we got a good mkdir. Anyone know why this one isn't documented, and if it works like most mkdirs ? Any "special" args or returns I need to worry about ? Why does op.mkdir test 3 fail ???