home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.programmer
- Path: sparky!uunet!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
- From: louie@sayshell.umd.edu (Louis A. Mamakos)
- Subject: Re: Q: Using select() to detect another process appending to a file
- Message-ID: <1992Aug31.145742.23989@ni.umd.edu>
- Sender: usenet@ni.umd.edu (USENET News System)
- Nntp-Posting-Host: sayshell.umd.edu
- Organization: University of Maryland College Park
- References: <BtuA1H.7p0@sounds.wa.com>
- Date: Mon, 31 Aug 1992 14:57:42 GMT
- Lines: 10
-
- In article <BtuA1H.7p0@sounds.wa.com> BrianW@SoundS.WA.com writes:
- >Can anyone tell me what is wrong? (perhaps select() only works on pipes which
- >are emptied when read and doesn't work on real files if I only want to know
- >about data appended beyond the current file position?)
-
- You are correct here; select() only works on pipes, tty-like devices
- and sockets. It doesn't do anything useful on plain files.
-
- louie
-
-