Re: Documenting offsetof(3)

2010-02-18 Thread Jason McIntyre
On Wed, Feb 17, 2010 at 12:47:38PM +0100, Thomas Pfaff wrote: > offsetof(3) is not documented so here's a man page for it. > now committed. thanks for the mail. jmc

Documenting offsetof(3)

2010-02-17 Thread Thomas Pfaff
offsetof(3) is not documented so here's a man page for it. Is the text below enough or should it be more verbose? .Dt OFFSETOF 3 .Os .Sh NAME .Nm offsetof .Nd offset of a structure member .Sh SYNOPSIS .Fd #include .Ft size_t .Fn offsetof "type" "member" .Sh DESCRIPTION The .Fn offsetof macro exp