On 04.05.2013 21:21, Sergey Kandaurov wrote: > Log: > Document that the return type is different from 1003.1-2008. >
It is better to fix this function return type to match POSIX standard rather than to document its non-standard behavior. We try to follow POSIX when possible and this is the case. > MFC after: 1 week > > Modified: > head/lib/libc/locale/freelocale.3 > > Modified: head/lib/libc/locale/freelocale.3 > ============================================================================== > --- head/lib/libc/locale/freelocale.3 Sat May 4 17:06:47 2013 > (r250244) > +++ head/lib/libc/locale/freelocale.3 Sat May 4 17:21:44 2013 > (r250245) > @@ -57,5 +57,12 @@ Returns 0 on success or -1 on error. > .Xr uselocale 3 , > .Xr xlocale 3 > .Sh STANDARDS > -This function conforms to > -.St -p1003.1-2008 . > +The > +.Fn freelocale > +function > +differs from > +.St -p1003.1-2008 > +in that its return type is > +.Vt int > +rather than > +.Vt void . > -- http://ache.vniz.net/ bitcoin:13fGiNutKNHcVSsgtGQ7bQ5kgUKgEQHn7N _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"