svn commit: r281925 - head/lib/libc/locale

David Chisnall theraven at FreeBSD.org
Fri Apr 24 10:17:57 UTC 2015


Author: theraven
Date: Fri Apr 24 10:17:55 2015
New Revision: 281925
URL: https://svnweb.freebsd.org/changeset/base/281925

Log:
  Small changes to locale-related man pages.
  Fix a missing .h and change the recommended include for the POSIX2008 functions from xlocale.h to locale.h.  Including xlocale.h is for legacy / Darwin compatibility so should not be encouraged.

Modified:
  head/lib/libc/locale/duplocale.3
  head/lib/libc/locale/freelocale.3
  head/lib/libc/locale/newlocale.3
  head/lib/libc/locale/querylocale.3
  head/lib/libc/locale/uselocale.3

Modified: head/lib/libc/locale/duplocale.3
==============================================================================
--- head/lib/libc/locale/duplocale.3	Fri Apr 24 09:52:41 2015	(r281924)
+++ head/lib/libc/locale/duplocale.3	Fri Apr 24 10:17:55 2015	(r281925)
@@ -36,7 +36,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In xlocale.h
+.In locale.h
 .Ft locale_t
 .Fn duplocale "locale_t locale"
 .Sh DESCRIPTION

Modified: head/lib/libc/locale/freelocale.3
==============================================================================
--- head/lib/libc/locale/freelocale.3	Fri Apr 24 09:52:41 2015	(r281924)
+++ head/lib/libc/locale/freelocale.3	Fri Apr 24 10:17:55 2015	(r281925)
@@ -38,7 +38,7 @@ or
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In xlocale.h
+.In locale.h
 .Ft int
 .Fn freelocale "locale_t locale"
 .Sh DESCRIPTION

Modified: head/lib/libc/locale/newlocale.3
==============================================================================
--- head/lib/libc/locale/newlocale.3	Fri Apr 24 09:52:41 2015	(r281924)
+++ head/lib/libc/locale/newlocale.3	Fri Apr 24 10:17:55 2015	(r281925)
@@ -35,7 +35,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In xlocale
+.In locale.h
 .Ft locale_t
 .Fn newlocale "int mask" "const char * locale" "locale_t base"
 .Sh DESCRIPTION

Modified: head/lib/libc/locale/querylocale.3
==============================================================================
--- head/lib/libc/locale/querylocale.3	Fri Apr 24 09:52:41 2015	(r281924)
+++ head/lib/libc/locale/querylocale.3	Fri Apr 24 10:17:55 2015	(r281925)
@@ -36,7 +36,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In xlocale.h
+.In locale.h
 .Ft const char *
 .Fn querylocale "int mask" "locale_t locale"
 .Sh DESCRIPTION

Modified: head/lib/libc/locale/uselocale.3
==============================================================================
--- head/lib/libc/locale/uselocale.3	Fri Apr 24 09:52:41 2015	(r281924)
+++ head/lib/libc/locale/uselocale.3	Fri Apr 24 10:17:55 2015	(r281925)
@@ -36,7 +36,7 @@
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In xlocale.h
+.In locale.h
 .Ft locale_t
 .Fn uselocale "locale_t locale"
 .Sh DESCRIPTION


More information about the svn-src-all mailing list