os/ossrv/genericopenlibs/cstdlib/LSTDIO/FVWRITE.H
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /* FVWRITE.H
     2  * 
     3  * Portions Copyright (c) 1990-1999 Nokia Corporation and/or its subsidiary(-ies).
     4  * All rights reserved.
     5  */
     6 
     7 /*
     8  * Copyright (c) 1990 The Regents of the University of California.
     9  * All rights reserved.
    10  *
    11  * Redistribution and use in source and binary forms are permitted
    12  * provided that the above copyright notice and this paragraph are
    13  * duplicated in all such forms and that any documentation,
    14  * advertising materials, and other materials related to such
    15  * distribution and use acknowledge that the software was developed
    16  * by the University of California, Berkeley.  The name of the
    17  * University may not be used to endorse or promote products derived
    18  * from this software without specific prior written permission.
    19  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
    20  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
    21  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
    22  */
    23 
    24 /* %W% (Berkeley) %G% */
    25 #include <_ansi.h>
    26 
    27 /**
    28 I/O descriptors for __sfvwrite().
    29 @internalComponent
    30 */
    31 struct __siov {
    32 	const void *	iov_base;
    33 	size_t			iov_len;
    34 };
    35 /**
    36 @internalComponent
    37 */
    38 struct __suio {
    39 	struct	__siov *uio_iov;
    40 	int	uio_iovcnt;
    41 	int	uio_resid;
    42 };
    43 
    44 /**
    45 @internalComponent
    46 */
    47 extern int __sfvwrite	(FILE *, struct __suio *);
    48 extern int __swsetup	(FILE *);
    49 
    50