Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!munnari!otc!softway!necisa!boyd From: boyd@necisa.necisa.oz (Boyd Roberts) Newsgroups: comp.unix.wizards Subject: Re: getcwd() and friends. Message-ID: <824@necisa.necisa.oz> Date: 26 Apr 89 01:27:05 GMT References: <3675@ficc.uu.net> <14689@rpp386.Dallas.TX.US> <16758@mimsy.UUCP> <144@titania.warwick.ac.uk> Organization: NEC Information Systems Australia Pty. Ltd. Lines: 15 What we really need is /dev/time. Opening it returns a descriptor refering to the system time inode. You can fstat() it and determine the current time from the modification time. Its modification time would be updated by clock(). A host of advantages would follow. date(1) would be "ls -l /dev/time | cut ..". This would move us ever closer to a true descriptor based OS... Boyd Roberts NEC Information Systems Australia boyd@necisa.necisa.oz ``When the going gets wierd, the weird turn pro...''