From eb11acae0ac067c8a56b8d278924bb01a798eb38 Mon Sep 17 00:00:00 2001 From: Roger Cole Date: Tue, 7 Jan 1992 08:07:25 +0000 Subject: [PATCH] add a comment for FILE* buffering --- src/libCom/ezsSockSubr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libCom/ezsSockSubr.c b/src/libCom/ezsSockSubr.c index 2e9d835d7..4c78541ad 100644 --- a/src/libCom/ezsSockSubr.c +++ b/src/libCom/ezsSockSubr.c @@ -29,6 +29,7 @@ * .01 06-18-91 rac installed in SCCS * .02 09-05-91 joh updated for v5 vxWorks * included systime.h for utime.h + * .03 12-08-91 rac added a comment for ezsFopenToFd * * make options * -DvxWorks makes a version for VxWorks @@ -315,6 +316,13 @@ int portNum; /* I number of service's port */ * SEE ALSO * ezsFreopenToFd(), ezsFrestoreToOldFd() * +* NOTES +* 1. For input streams in a client monitoring the output of a server, +* it will often be useful to set the stream to unbuffered: +* FILE *myIn; +* ezsFopenToFd(&myIn, socket); +* setbuf(myIn, NULL); +* *-*/ int ezsFopenToFd(pFp, pFd)