[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some quick questions



Stephen Masterman writes:
> 
> I was going to change them to rw for other but then someone could just cat
> a big file and redirect output to someone elses tty..?

That's what 'writeing' is...
 
> Second, I am under the impression that there is a POSIX system call called
> nanosleep() which allows a process to sleep an amount of time specified in
> units of microseconds (don't know why its nanosleep and not microsleep).

try usleep(3)

-- 
Carl Streeter                   |  "Etiquette-wise, there is no proper time 
streeter@cae.wisc.edu           |    to use the phrase 'It sucks.'" --Dogbert
Just another Perl hacker        |  "I'm a heartless bastard." --Linus Torvalds
Ask me about Debian/GNU Linux.  |    http://www.cae.wisc.edu/~streeter/


Reply to: