summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@covalent.net>2001-05-31 10:37:37 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2001-06-01 12:47:21 +0000
commitf22d8e4b6ac8b32788591ab647fd40e18ea984f2 (patch)
tree3fedd9924b8c26080afc094eb7088cc855b0ed71 /pod
parent835f860c4f5e105fc77374cb91abb368b434a8b8 (diff)
downloadperl-f22d8e4b6ac8b32788591ab647fd40e18ea984f2.tar.gz
[patch] Cwd.xs optimizations/abstraction
Message-ID: <Pine.LNX.4.21.0105311733270.732-100000@mako.covalent.net> p4raw-id: //depot/perl@10369
Diffstat (limited to 'pod')
-rw-r--r--pod/perlapi.pod35
1 files changed, 27 insertions, 8 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index b8dfd82dc0..aa72c9c9f9 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -952,7 +952,7 @@ parameter is the precomputed hash value; if it is zero then Perl will
compute it. The return value is the new hash entry so created. It will be
NULL if the operation failed or if the value did not need to be actually
stored within the hash (as in the case of tied hashes). Otherwise the
-contents of the return value can be accessed using the C<He???> macros
+contents of the return value can be accessed using the C<He?> macros
described here. Note that the caller is responsible for suitably
incrementing the reference count of C<val> before the call, and
decrementing it if the function returned NULL.
@@ -2408,19 +2408,19 @@ false, defined or undefined. Does not handle 'get' magic.
=for hackers
Found in file sv.h
-=item SvTYPE
-
-Returns the type of the SV. See C<svtype>.
+=item svtype
- svtype SvTYPE(SV* sv)
+An enum of flags for Perl types. These are found in the file B<sv.h>
+in the C<svtype> enum. Test these flags with the C<SvTYPE> macro.
=for hackers
Found in file sv.h
-=item svtype
+=item SvTYPE
-An enum of flags for Perl types. These are found in the file B<sv.h>
-in the C<svtype> enum. Test these flags with the C<SvTYPE> macro.
+Returns the type of the SV. See C<svtype>.
+
+ svtype SvTYPE(SV* sv)
=for hackers
Found in file sv.h
@@ -2754,6 +2754,15 @@ Free the memory used by an SV.
=for hackers
Found in file sv.c
+=item sv_getcwd
+
+Fill the sv with current working directory
+
+ int sv_getcwd(SV* sv)
+
+=for hackers
+Found in file util.c
+
=item sv_gets
Get a line from the filehandle and store it into the SV, optionally
@@ -2894,6 +2903,16 @@ L</sv_pvn_force>.
=for hackers
Found in file sv.c
+=item sv_realpath
+
+Emulate realpath(3)
+
+XXX: add configure test for realpath(3) and prefer if available
+ int sv_realpath(SV* sv, char *path, STRLEN len)
+
+=for hackers
+Found in file util.c
+
=item sv_reftype
Returns a string describing what the SV is a reference to.