Contiki 2.6
|
00001 /* 00002 * Copyright (c) 1990 The Regents of the University of California. 00003 * All rights reserved. 00004 * 00005 * Redistribution and use in source and binary forms are permitted 00006 * provided that the above copyright notice and this paragraph are 00007 * duplicated in all such forms and that any documentation, 00008 * advertising materials, and other materials related to such 00009 * distribution and use acknowledge that the software was developed 00010 * by the University of California, Berkeley. The name of the 00011 * University may not be used to endorse or promote products derived 00012 * from this software without specific prior written permission. 00013 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 00014 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 00015 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00016 */ 00017 00018 /* %W% (Berkeley) %G% */ 00019 #include <_ansi.h> 00020 00021 /* 00022 * I/O descriptors for __sfvwrite(). 00023 */ 00024 struct __siov { 00025 _CONST _PTR iov_base; 00026 size_t iov_len; 00027 }; 00028 struct __suio { 00029 struct __siov *uio_iov; 00030 int uio_iovcnt; 00031 int uio_resid; 00032 }; 00033 00034 00035 extern int _EXFUN(__sfvwrite,(FILE *, struct __suio *)); 00036 extern int _EXFUN(__swsetup,(FILE *)); 00037 00038