projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
837ef5c
)
r11414: new file
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 30 Dec 2006 21:32:07 +0000
(21:32 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Sat, 30 Dec 2006 21:32:07 +0000
(21:32 +0000)
uffi/intbits.c
[new file with mode: 0644]
patch
|
blob
diff --git a/uffi/intbits.c
b/uffi/intbits.c
new file mode 100644
(file)
index 0000000..
17f7bf8
--- /dev/null
+++ b/
uffi/intbits.c
@@ -0,0
+1,11
@@
+/* Prints the number of bits in a pointer.
+ * Copyright (c) 2006 Kevin Rosenberg
+ */
+
+#include <stdio.h>
+
+int main() {
+ char *p;
+ printf ("%d\n", 8*sizeof(p));
+ return (0);
+}