diff lib/lib.h @ 915:463a7b796e61

Add peek/poke to header file.
author Rob Landley <rob@landley.net>
date Sat, 01 Jun 2013 22:36:48 -0500
parents 849e14fecf2b
children b92cb3cc9696
line wrap: on
line diff
--- a/lib/lib.h	Sat Jun 01 20:47:16 2013 -0500
+++ b/lib/lib.h	Sat Jun 01 22:36:48 2013 -0500
@@ -121,6 +121,8 @@
 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);