delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-WM-Posted-At: | avacado.atomice.net; Mon, 6 May 02 23:20:43 +0100 |
Message-ID: | <000d01c1f54c$431517e0$0100a8c0@advent02> |
From: | "Chris January" <chris AT atomice DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | setlinebuf |
Date: | Mon, 6 May 2002 23:20:43 +0100 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
The setlinebuf function is declared in stdio.h, but is not exported in cygwin1.dll. Chris SYNOPSIS #include <stdio.h> int setlinebuf(FILE *stream); DESCRIPTION The setlinebuf() function lets the program control the buffer of a given stream. This function may be used after the stream pointed to by stream is associated with an open file, but before any other operation is performed on the stream. Except that it returns no value, the setlinebuf() function is equivalent to the setvbuf() function invoked with the values (char *)NULL for buffer, _IONBF for mode and zero for size. PARAMETERS stream Points to a FILE structure. RETURN VALUES If successful, setlinebuf() returns 0. On failure, it returns non-zero if an invalid value is given for mode or if the request cannot be honored. CONFORMANCE 4.4BSD. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |