harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r418280 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h
Date Fri, 30 Jun 2006 13:45:54 GMT
Author: dlydick
Date: Fri Jun 30 06:45:53 2006
New Revision: 418280

URL: http://svn.apache.org/viewvc?rev=418280&view=rev
Log:
Added prototype for portable_lseek() function.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h?rev=418280&r1=418279&r2=418280&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/portable.h Fri
Jun 30 06:45:53 2006
@@ -85,6 +85,10 @@
                                            remapped into the
                                            portability library. */
 
+#define lseek PLEASE_USE_portable_lseek /**< @c @b lseek(2) has been
+                                           remapped into the
+                                           portability library. */
+
 #define read PLEASE_USE_portable_read   /**< @c @b read(2) has been
                                            remapped into the
                                            portability library. */
@@ -196,6 +200,7 @@
 extern rlong  portable_stat_get_st_size(rvoid *statbfr);
 extern rint   portable_open(const rchar *path,
                             rint oflag /* , ... not impl/not needed */);
+extern rlong  portable_lseek(rint fildes, rlong offset, rint whence);
 extern rlong  portable_read(rint fildes, rvoid *buf, rlong nbyte);
 extern rint   portable_close(rint fildes);
 



Mime
View raw message