summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pod/perlguts.pod6
1 files changed, 4 insertions, 2 deletions
diff --git a/pod/perlguts.pod b/pod/perlguts.pod
index af12297ec3..a5350486ce 100644
--- a/pod/perlguts.pod
+++ b/pod/perlguts.pod
@@ -2907,15 +2907,17 @@ Test two strings to see if they are different. Returns true or false.
Test two strings to see if they are equal. The C<len> parameter indicates
the number of bytes to compare. Returns true or false.
+(A wrapper for C<strncmp>).
- int strnEQ( char *s1, char *s2 )
+ int strnEQ( const char *s1, const char *s2, size_t len )
=item strnNE
Test two strings to see if they are different. The C<len> parameter
indicates the number of bytes to compare. Returns true or false.
+(A wrapper for C<strncmp>).
- int strnNE( char *s1, char *s2, int len )
+ int strnNE( const char *s1, const char *s2, size_t len )
=item sv_2mortal