summaryrefslogtreecommitdiff
path: root/static/v10/man3/setbuf.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-26 16:38:00 -0400
commit97d5c458cfa039d857301e1ca7d5af3beb37131d (patch)
treeb460cd850d0537eb71806ba30358840377b27688 /static/v10/man3/setbuf.3
parentb89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff)
build: Better Build System
Diffstat (limited to 'static/v10/man3/setbuf.3')
-rw-r--r--static/v10/man3/setbuf.346
1 files changed, 0 insertions, 46 deletions
diff --git a/static/v10/man3/setbuf.3 b/static/v10/man3/setbuf.3
deleted file mode 100644
index 2e9c8aa6..00000000
--- a/static/v10/man3/setbuf.3
+++ /dev/null
@@ -1,46 +0,0 @@
-.TH SETBUF 3S
-.CT 2 file_io
-.SH NAME
-setbuf \(mi assign buffering to a stream
-.SH SYNOPSIS
-.nf
-.B #include <stdio.h>
-.PP
-.B setbuf(stream, buf)
-.B FILE *stream;
-.B char buf[BUFSIZ];
-.fi
-.SH DESCRIPTION
-.I Setbuf
-is used after a stream has been opened but before it
-is read or written.
-It causes the character array
-.I buf
-to be used instead of an automatically allocated buffer.
-If
-.I buf
-is the constant pointer
-.LR NULL ,
-input/output will be completely unbuffered.
-.PP
-A buffer is normally obtained from
-.IR malloc (3)
-upon the first
-.IR getc (3)
-or
-.IR putc
-on the file.
-Initially,
-the standard stream
-.I stderr
-is unbuffered,
-and the standard stream
-.I stdout
-is flushed automatically
-whenever new data is read by
-.IR getc .
-The latter magic may be dissolved by a call to
-.IR setbuf .
-.SH "SEE ALSO"
-.IR stdio (3),
-.IR malloc (3)