OSDN Git Service
(root)
/
android-x86
/
external-toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceca2e3
)
Add peek/poke to header file.
author
Rob Landley
<rob@landley.net>
Sun, 2 Jun 2013 03:36:48 +0000
(22:36 -0500)
committer
Rob Landley
<rob@landley.net>
Sun, 2 Jun 2013 03:36:48 +0000
(22:36 -0500)
lib/lib.h
patch
|
blob
|
history
diff --git
a/lib/lib.h
b/lib/lib.h
index
77f5fd2
..
b5c308c
100644
(file)
--- 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);