Module Name: src Committed By: jruoho Date: Mon Dec 20 19:15:26 UTC 2010
Modified Files: src/share/man/man3: __alignof__.3 Log Message: A small clarification in the example. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man3/__alignof__.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man3/__alignof__.3 diff -u src/share/man/man3/__alignof__.3:1.3 src/share/man/man3/__alignof__.3:1.4 --- src/share/man/man3/__alignof__.3:1.3 Sun Dec 19 08:56:17 2010 +++ src/share/man/man3/__alignof__.3 Mon Dec 20 19:15:26 2010 @@ -1,4 +1,4 @@ -.\" $NetBSD: __alignof__.3,v 1.3 2010/12/19 08:56:17 wiz Exp $ +.\" $NetBSD: __alignof__.3,v 1.4 2010/12/20 19:15:26 jruoho Exp $ .\" .\" Copyright (c) 2010 Jukka Ruohonen <jruoho...@iki.fi> .\" All rights reserved. @@ -24,7 +24,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd December 19, 2010 +.Dd December 20, 2010 .Dt __ALIGNOF__ 3 .Os .Sh NAME @@ -64,7 +64,7 @@ (void)printf(\*[q]%d\en\*[q], __alignof__(int)); .Ed .Pp -On the other hand, the following example probably prints the value 1, +On the other hand, the following example should print the value 1, even though this is unlikely to be the actual alignment of the structure member. .Bd -literal -offset indent