aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2013-06-01 22:36:48 -0500
committerRob Landley <rob@landley.net>2013-06-01 22:36:48 -0500
commit085f23692575e93142df2347cfe76dd173f23e16 (patch)
treec70adfe8686d836d27b2f66e5e75b2c961075c2d
parentceca2e3d77bd2d922f3ebb19c9f74dd72639fae0 (diff)
downloadtoybox-085f23692575e93142df2347cfe76dd173f23e16.tar.gz
Add peek/poke to header file.
-rw-r--r--lib/lib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 77f5fd26..b5c308c6 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -121,6 +121,8 @@ char *readfile(char *name);
char *xreadfile(char *name);
void msleep(long miliseconds);
int xioctl(int fd, int request, void *data);
+int64_t peek(void *ptr, int size);
+void poke(void *ptr, uint64_t val, int size);
char *xgetcwd(void);
void xstat(char *path, struct stat *st);
char *xabspath(char *path, int exact);