system (and mkdir)

ftw at datacube.UUCP ftw at datacube.UUCP
Fri Feb 12 01:42:00 AEST 1988


pmd at cbdkc1.UUCP writes:

> Because many of us are still fooling around with older versions of UNIX
> (e.g., sysVr2) that don't have a standard mkdir() routine.  There is a mknod()
> system call but it needs su permission and is clumsy for making directories
> (needing to be called 3 times to do it right).
> -- 

> Paul Dubuc	{ihnp4,cbosgd}!cbdkc1!pmd

I was able to do that with one mknod() and two calls to link().  (Okay,
Name That Tune! 8-)



				Farrell T. Woods 

Datacube Inc. Systems / Software Group	4 Dearborn Rd. Peabody, Ma 01960
VOICE:	617-535-6644;	FAX: (617) 535-5643;  TWX: (710) 347-0125
INTERNET: ftw at datacube.COM
UUCP: {rutgers, ihnp4, mirror}!datacube!ftw

"OS/2 -- Half an operating system"



More information about the Comp.lang.c mailing list