fwrite man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

FWRITE(3)			    NEWLIB			     FWRITE(3)

NAME
       4.31 `fwrite'--write array elements

SYNOPSIS
	    #include <stdio.h>
	    size_t fwrite(const void *BUF, size_t SIZE,
		size_t COUNT, FILE *FP);

	    #include <stdio.h>
	    size_t _fwrite_r(struct _reent *PTR, const void *BUF, size_t SIZE,
		size_t COUNT, FILE *FP);

DESCRIPTION
       `fwrite' attempts to copy, starting from the memory location BUF, COUNT
       elements (each of size SIZE) into the file or stream identified by  FP.
       `fwrite' may copy fewer elements than COUNT if an error intervenes.

	  `fwrite'  also  advances the file position indicator (if any) for FP
       by the number of _characters_ actually written.

	  `_fwrite_r' is simply the reentrant version of `fwrite'  that	 takes
       an additional reentrant structure argument: PTR.

RETURNS
       If  `fwrite'  succeeds  in  writing  all	 the elements you specify, the
       result is the same as the argument COUNT.  In any event, the result  is
       the number of complete elements that `fwrite' copied to the file.

PORTABILITY
       ANSI C requires `fwrite'.

	  Supporting  OS  subroutines  required:  `close',  `fstat', `isatty',
       `lseek', `read', `sbrk', `write'.

SEE ALSO
       fwrite is part of the library.  The full	 documentation	for  is	 main‐
       tained as a Texinfo manual.  If info and are properly installed at your
       site, the command

	      info

       will give you access to the complete manual.

NEWLIB				  April 2010			     FWRITE(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net