Skip to content

Commit

Permalink
POSIX.pod: Add some caveats about strcoll(), strxfrm()
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed May 9, 2016
1 parent 534dad4 commit 393aa92
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ext/POSIX/lib/POSIX.pod
Expand Up @@ -1671,6 +1671,10 @@ for collating (comparing) strings transformed using
the C<strxfrm()> function. Not really needed since
Perl can do this transparently, see L<perllocale>.

Beware that in a UTF-8 locale, anything you pass to this function must
be in UTF-8; and when not in a UTF-8 locale, anything passed must not be
UTF-8 encoded.

=item C<strcpy>

Not implemented. C<strcpy()> is C-specific, use C<=> instead, see L<perlop>.
Expand Down Expand Up @@ -1843,6 +1847,10 @@ Used in conjunction with the C<strcoll()> function, see L</strcoll>.
Not really needed since Perl can do this transparently, see
L<perllocale>.

Beware that in a UTF-8 locale, anything you pass to this function must
be in UTF-8; and when not in a UTF-8 locale, anything passed must not be
UTF-8 encoded.

=item C<sysconf>

Retrieves values of system configurable variables.
Expand Down

0 comments on commit 393aa92

Please sign in to comment.