summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-08-26 14:08:20 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-08-26 14:08:20 +0000
commite2115d3148b457aaae4797fbf1c00fe2fafe4974 (patch)
tree9829f2f28f322f6ed05655cee1342e01b670308f /share
parenta341ef6855aad54a0a8504a2537fd34663034cf6 (diff)
- update propolice URL
- write attribute names with their underscores (as was already the case for __bounded__) for consistency.
Diffstat (limited to 'share')
-rw-r--r--share/man/man1/gcc-local.123
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 .