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.
This commit is contained in:
parent
6e8e105b22
commit
58912ae7c3
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user