Do not use hard-coded values with ENAMETOOLONG, use symbolic constants

instead.
This commit is contained in:
njoly 2014-10-19 16:47:51 +00:00
parent 417347661f
commit 0df29bec99

View File

@ -1,4 +1,4 @@
.\" $NetBSD: utime.3,v 1.21 2010/04/29 17:07:00 jruoho Exp $
.\" $NetBSD: utime.3,v 1.22 2014/10/19 16:47:51 njoly Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -111,8 +111,12 @@ An I/O error occurred while reading or writing the affected inode.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded 255 characters,
or an entire path name exceeded 1023 characters.
A component of a pathname exceeded
.Brq Dv NAME_MAX
characters,
or an entire path name exceeded
.Brq Dv PATH_MAX
characters.
.It Bq Er ENOENT
The named file does not exist.
.It Bq Er ENOTDIR