strerror.3 (165903) | strerror.3 (220376) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)strerror.3 8.1 (Berkeley) 6/9/93 | 1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" the American National Standards Committee X3, on Information 6.\" Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)strerror.3 8.1 (Berkeley) 6/9/93 |
33.\" $FreeBSD: head/lib/libc/string/strerror.3 165903 2007-01-09 00:28:16Z imp $ | 33.\" $FreeBSD: head/lib/libc/string/strerror.3 220376 2011-04-05 21:56:05Z jilles $ |
34.\" | 34.\" |
35.Dd October 12, 2004 | 35.Dd April 5, 2011 |
36.Dt STRERROR 3 37.Os 38.Sh NAME 39.Nm perror , 40.Nm strerror , 41.Nm strerror_r , 42.Nm sys_errlist , 43.Nm sys_nerr --- 65 unchanged lines hidden (view full) --- 109functions return 110.Er EINVAL 111as a warning. 112Error numbers recognized by this implementation fall in 113the range 0 < 114.Fa errnum 115< 116.Fa sys_nerr . | 36.Dt STRERROR 3 37.Os 38.Sh NAME 39.Nm perror , 40.Nm strerror , 41.Nm strerror_r , 42.Nm sys_errlist , 43.Nm sys_nerr --- 65 unchanged lines hidden (view full) --- 109functions return 110.Er EINVAL 111as a warning. 112Error numbers recognized by this implementation fall in 113the range 0 < 114.Fa errnum 115< 116.Fa sys_nerr . |
117The number 0 is also recognized, although applications that take advantage of 118this are likely to use unspecified values of 119.Va errno . |
|
117.Pp 118If insufficient storage is provided in 119.Fa strerrbuf 120(as specified in 121.Fa buflen ) 122to contain the error string, 123.Fn strerror_r 124returns --- 62 unchanged lines hidden --- | 120.Pp 121If insufficient storage is provided in 122.Fa strerrbuf 123(as specified in 124.Fa buflen ) 125to contain the error string, 126.Fn strerror_r 127returns --- 62 unchanged lines hidden --- |