summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2017-08-13 01:59:43 +0100
committerZefram <zefram@fysh.org>2017-08-19 00:04:20 +0100
commit658db62260a2a680132cf1a36a3788db37a6941b (patch)
tree6aa320e28864142165fce2bd5d634345bb1f9f64 /embed.fnc
parenta8f4b0c691d6f1b08948976e74087b646bf8c6ef (diff)
downloadperl-658db62260a2a680132cf1a36a3788db37a6941b.tar.gz
add sv_string_from_errnum()
This is a new API function, partly substituting for the my_strerror() that was recently removed from the public API, but also incorporating the decoding work that's done for $!.
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed.fnc b/embed.fnc
index b68484b1c6..aa3a623ab5 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1029,6 +1029,7 @@ Apd |int |mg_copy |NN SV *sv|NN SV *nsv|NULLOK const char *key \
|I32 klen
: Defined in mg.c, used only in scope.c
pd |void |mg_localize |NN SV* sv|NN SV* nsv|bool setmagic
+Apd |SV* |sv_string_from_errnum|int errnum|NULLOK SV* tgtsv
ApdRn |MAGIC* |mg_find |NULLOK const SV* sv|int type
ApdRn |MAGIC* |mg_findext |NULLOK const SV* sv|int type|NULLOK const MGVTBL *vtbl
: exported for re.pm