projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add references to tour of pintos.
[pintos-anon]
/
src
/
filesys
/
off_t.h
diff --git
a/src/filesys/off_t.h
b/src/filesys/off_t.h
index 55ff174cd0ae5cb52583b847785007b43412ffa2..9caff4dbae88823f109b1d3ee99c7535f79a55ce 100644
(file)
--- a/
src/filesys/off_t.h
+++ b/
src/filesys/off_t.h
@@
-8,4
+8,8
@@
definition but not any others. */
typedef int32_t off_t;
definition but not any others. */
typedef int32_t off_t;
+/* Format specifier for printf(), e.g.:
+ printf ("offset=%"PROTd"\n", offset); */
+#define PROTd PRId32
+
#endif /* filesys/off_t.h */
#endif /* filesys/off_t.h */