|
@ -33,7 +33,7 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: strerror.3,v 1.3 1999/05/23 14:11:03 aaron Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: strerror.3,v 1.4 2000/10/23 19:14:41 aaron Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd June 29, 1991 |
|
|
.Dd June 29, 1991 |
|
|
.Dt STRERROR 3 |
|
|
.Dt STRERROR 3 |
|
@ -49,7 +49,11 @@ |
|
|
The |
|
|
The |
|
|
.Fn strerror |
|
|
.Fn strerror |
|
|
function returns a pointer to the language-dependent error message |
|
|
function returns a pointer to the language-dependent error message |
|
|
string affiliated with an error number. |
|
|
|
|
|
|
|
|
string affiliated with the specified error number |
|
|
|
|
|
.Fa errnum . |
|
|
|
|
|
The returned string contains a maximum of |
|
|
|
|
|
.Dv NL_TEXTMAX |
|
|
|
|
|
characters, including the trailing NUL. |
|
|
.Pp |
|
|
.Pp |
|
|
The array pointed to is not to be modified by the program, but may be |
|
|
The array pointed to is not to be modified by the program, but may be |
|
|
overwritten by subsequent calls to |
|
|
overwritten by subsequent calls to |
|
|