Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/ssp Fix SYNOPSIS, add CAVEATS.
details: https://anonhg.NetBSD.org/src/rev/a4523af7b003
branches: trunk
changeset: 759879:a4523af7b003
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sun Dec 19 08:21:36 2010 +0000
description:
Fix SYNOPSIS, add CAVEATS.
diffstat:
lib/libc/ssp/__builtin_object_size.3 | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r 8bef81b24b8b -r a4523af7b003 lib/libc/ssp/__builtin_object_size.3
--- a/lib/libc/ssp/__builtin_object_size.3 Sun Dec 19 08:14:03 2010 +0000
+++ b/lib/libc/ssp/__builtin_object_size.3 Sun Dec 19 08:21:36 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: __builtin_object_size.3,v 1.6 2010/12/16 17:50:39 jruoho Exp $
+.\" $NetBSD: __builtin_object_size.3,v 1.7 2010/12/19 08:21:36 jruoho Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -28,13 +28,13 @@
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd December 16, 2010
+.Dd December 19, 2010
.Dt __BUILTIN_OBJECT_SIZE 3
.Os
.Sh NAME
.Nm __builtin_object_size
.Nd return the size of the given object
-.Sh LIBRARY
+.Sh SYNOPSIS
.Ft size_t
.Fn __builtin_object_size "void *ptr" "int type"
.Sh DESCRIPTION
@@ -85,3 +85,5 @@
.Fn __builtin_object_size
appeared in
.Tn GCC 4.1 .
+.Sh CAVEATS
+This is a non-standard, compiler-specific extension.
Home |
Main Index |
Thread Index |
Old Index