/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy of the CDDL is also available via the Internet at * http://www.illumos.org/license/CDDL. */ /* * Copyright (c) 2015, Joyent, Inc. All rights reserved. */ .file "pwritev.s" /* C library -- pwritev */ /* ssize_t __pwritev(int, const struct iovec *, int, off_t, off_t); */ #include "SYS.h" #if !defined(_LARGEFILE_SOURCE) SYSCALL2_RESTART_RVAL1(__pwritev,pwritev) RET SET_SIZE(__pwritev) #else /* C library -- pwrite64 transitional large file API, */ /* ssize_t __pwritev64(int, const struct iovec *, int, off_t, off_t); */ SYSCALL2_RESTART_RVAL1(__pwritev64,pwritev) RET SET_SIZE(__pwritev64) #endif