* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)perror.c 8.1 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
register struct iovec
*v
;
v
->iov_base
= strerror(errno
);
v
->iov_len
= strlen(v
->iov_base
);
(void)writev(STDERR_FILENO
, iov
, (v
- iov
) + 1);