This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
benchmarks.t: update to handle field changes
[perl5.git]
/
embed.fnc
diff --git
a/embed.fnc
b/embed.fnc
index
71b3087
..
16b678c
100644
(file)
--- a/
embed.fnc
+++ b/
embed.fnc
@@
-3038,6
+3038,10
@@
Apnod |Size_t |my_strlcat |NULLOK char *dst|NULLOK const char *src|Size_t size
Apnod |Size_t |my_strlcpy |NULLOK char *dst|NULLOK const char *src|Size_t size
#endif
+#ifndef HAS_STRNLEN
+Apnod |Size_t |my_strnlen |NN const char *str|Size_t maxlen
+#endif
+
#ifndef HAS_MKSTEMP
pno |int |my_mkstemp |NN char *templte
#endif