home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!gatech!destroyer!news.iastate.edu!john
- From: john@iastate.edu (John Hascall)
- Subject: fstat bogosity
- Message-ID: <C06rnA.98s@news.iastate.edu>
- Sender: news@news.iastate.edu (USENET News System)
- Organization: Iowa State University, Ames, IA
- Date: Fri, 1 Jan 1993 17:37:57 GMT
- Lines: 21
-
- Well, if anyone at DEC still cares about Ultrix (V4.2a in our case), the man
- page for fstat() says:
-
- Restrictions
- Applying fstat to a socket returns a zeroed buffer and [EOPNOT-
- SUPP].
-
- It appears to be the case that fstat(sockFD, &stbuf) is not returning an error,
- and in the case of a TCP socket (AF_INET, SOCK_STREAM) it appears that
- stbuf.st_blksize is being filed in with the socket MaxSegSiz value.
-
- I also don't see why it would be so much trouble to fill in .st_mode = S_IFSOCK
- either.
-
- John
- #include <std/gripe/noUsenetSPR.h>
- --
- John Hascall ``An ill-chosen word is the fool's messenger.''
- Systmes Software Engineer
- Project Vincent
- Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
-