Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / service_runtime / sys_fdio.h
index 2ed3ca3..2bc4532 100644 (file)
@@ -29,26 +29,26 @@ int32_t NaClSysDup2(struct NaClAppThread  *natp,
 
 int32_t NaClSysRead(struct NaClAppThread  *natp,
                     int                   d,
-                    void                  *buf,
-                    size_t                count);
+                    uint32_t              buf,
+                    uint32_t              count);
 
 int32_t NaClSysWrite(struct NaClAppThread *natp,
                      int                  d,
-                     void                 *buf,
-                     size_t               count);
+                     uint32_t             buf,
+                     uint32_t             count);
 
 int32_t NaClSysLseek(struct NaClAppThread *natp,
                      int                  d,
-                     nacl_abi_off_t       *offp,
+                     uint32_t             offp,
                      int                  whence);
 
 int32_t NaClSysFstat(struct NaClAppThread *natp,
                      int                  d,
-                     struct nacl_abi_stat *nasp);
+                     uint32_t             nasp);
 
 int32_t NaClSysGetdents(struct NaClAppThread  *natp,
                         int                   d,
-                        void                  *dirp,
+                        uint32_t              dirp,
                         size_t                count);
 
 int32_t NaClSysIsatty(struct NaClAppThread *natp,