*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: fread | Section: 3 | Source: UNIX v7 | File: fread.3s
FREAD(3S) FREAD(3S) NAME fread, fwrite - buffered binary input/output SYNOPSIS #include <stdio.h> fread(ptr, sizeof(*ptr), nitems, stream) FILE *stream; fwrite(ptr, sizeof(*ptr), nitems, stream) FILE *stream; DESCRIPTION Fread reads, into a block beginning at ptr, nitems of data of the type of *ptr from the named input stream. It returns the number of items actually read. Fwrite appends at most nitems of data of the type of *ptr beginning at ptr to the named output stream. It returns the number of items actu- ally written. SEE ALSO read(2), write(2), fopen(3), getc(3), putc(3), gets(3), puts(3), printf(3), scanf(3) DIAGNOSTICS Fread and fwrite return 0 upon end of file or error. FREAD(3S)

Navigation Options