diff options
Diffstat (limited to 'share/man/man1')
-rw-r--r-- | share/man/man1/gcc-local.1 | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/share/man/man1/gcc-local.1 b/share/man/man1/gcc-local.1 index 7627904f514..5ea090e4175 100644 --- a/share/man/man1/gcc-local.1 +++ b/share/man/man1/gcc-local.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: gcc-local.1,v 1.2 2004/04/23 22:25:04 avsm Exp $ +.\" $OpenBSD: gcc-local.1,v 1.3 2004/08/26 14:08:19 miod Exp $ .\" .\" Copyright (c) 2002 Marc Espie .\" Copyright (c) 2003 Anil Madhavapeddy @@ -91,18 +91,21 @@ and silence erroneous warnings when used with .It Even in 2.95.3, .Nm gcc -recognizes the attribute nonnull, which can be used to mark -arguments that can't be +recognizes the attribute +.Dv __nonnull__ , +which can be used to mark arguments that can't be .Dv NULL . -The printf format attribute does not imply nonnull +The printf format attribute does not imply +.Dv __nonnull__ for the format. This allows for correct format checking on the .Xr err 3 function family. .It .Nm gcc -recognizes the extra attribute sentinel, which can be used to mark varargs -function that need a +recognizes the extra attribute +.Dv __sentinel__ , +which can be used to mark varargs function that need a .Dv NULL pointer to mark argument termination, like .Xr execl 3 . @@ -287,7 +290,7 @@ buffer associated with the format argument. .Sh SEE ALSO .Xr gcc 1 .Pp -.Pa http://www.trl.ibm.com/projects/security/ssp +.Pa http://www.research.ibm.com/trl/projects/security/ssp/ .Sh CAVEATS The .Fl Wbounded @@ -295,5 +298,7 @@ flag only works with statically allocated fixed-size buffers. Since it is applied at compile-time, dynamically allocated memory buffers and non-constant arguments are ignored. .Sh BUGS -The sentinel attribute is not yet fully implemented for -.Nm gcc 3.3.2. +The +.Dv __sentinel__ +attribute is not yet fully implemented for +.Nm gcc 3.3.2 . |