diff options
author | Rob Landley <rob@landley.net> | 2013-06-01 22:36:48 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-06-01 22:36:48 -0500 |
commit | 085f23692575e93142df2347cfe76dd173f23e16 (patch) | |
tree | c70adfe8686d836d27b2f66e5e75b2c961075c2d /lib | |
parent | ceca2e3d77bd2d922f3ebb19c9f74dd72639fae0 (diff) | |
download | toybox-085f23692575e93142df2347cfe76dd173f23e16.tar.gz |
Add peek/poke to header file.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |