1 /* 2 * Copyright (c) 2000-2001 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * This code is derived from software contributed to Berkeley by 8 * Chris Torek. 9 * 10 * By using this file, you agree to the terms and conditions set 11 * forth in the LICENSE file which can be found at the top level of 12 * the sendmail distribution. 13 * 14 * $Id: fvwrite.h,v 1.7 2001/03/02 00:18:19 ca Exp $ 15 */ 16 17 #pragma ident "%Z%%M% %I% %E% SMI" 18 19 /* I/O descriptors for sm_fvwrite() */ 20 struct sm_iov 21 { 22 void *iov_base; 23 size_t iov_len; 24 }; 25 struct sm_uio 26 { 27 struct sm_iov *uio_iov; 28 int uio_iovcnt; 29 int uio_resid; 30 }; 31 32 extern int sm_fvwrite __P((SM_FILE_T *, int, struct sm_uio *)); 33