From: "Chris January" <chris@atomice.net>
To: <cygwin@cygwin.com>
Subject: setlinebuf
Date: Mon, 06 May 2002 15:17:00 -0000 [thread overview]
Message-ID: <000d01c1f54c$431517e0$0100a8c0@advent02> (raw)
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/
next reply other threads:[~2002-05-06 22:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-06 15:17 Chris January [this message]
2002-05-06 16:57 ` setlinebuf Christopher Faylor
2002-05-06 21:45 ` setlinebuf Gareth Pearce
2002-05-07 7:43 ` setlinebuf Christopher Faylor
2002-05-07 15:00 ` setlinebuf Gareth Pearce
-- strict thread matches above, loose matches on Subject: below --
2001-11-11 8:26 setlinebuf Gareth Pearce
2001-11-11 8:26 ` setlinebuf Pavel Tsekov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='000d01c1f54c$431517e0$0100a8c0@advent02' \
--to=chris@atomice.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).