[svn:parrot] r46983 - branches/ops_massacre/src/dynoplibs
plobsing at svn.parrot.org
plobsing at svn.parrot.org
Tue May 25 03:37:30 UTC 2010
Author: plobsing
Date: Tue May 25 03:37:30 2010
New Revision: 46983
URL: https://trac.parrot.org/parrot/changeset/46983
Log:
remove C<err> op from dynops (it can't go to dynops)
Modified:
branches/ops_massacre/src/dynoplibs/sys.ops
Modified: branches/ops_massacre/src/dynoplibs/sys.ops
==============================================================================
--- branches/ops_massacre/src/dynoplibs/sys.ops Tue May 25 03:05:26 2010 (r46982)
+++ branches/ops_massacre/src/dynoplibs/sys.ops Tue May 25 03:37:30 2010 (r46983)
@@ -25,37 +25,6 @@
########################################
-=item B<err>(out INT)
-
-Store the system error code in $1.
-
-=item B<err>(out STR)
-
-Store the system error message in $1.
-
-=item B<err>(out STR, in INT)
-
-Get the system error message for the system error code $2
-and store it in $1.
-
-=cut
-
-inline op err(out INT) {
- $1 = errno;
-}
-
-op err(out STR) {
- const char * const tmp = strerror(errno);
- $1 = string_make(interp, tmp, strlen(tmp), "ascii", 0);
-}
-
-op err(out STR, in INT) {
- const char * const tmp = strerror($2);
- $1 = string_make(interp, tmp, strlen(tmp), "ascii", 0);
-}
-
-########################################
-
=item B<gmtime>(out STR, in INT)
Take the integer, which represents GMT epoch-seconds, and turn it into a
More information about the parrot-commits
mailing list