Results 1 to 6 of 6
I'm trying just a simple program using jiffies and I can't get it to compile.
#include <stdio.h>
int main()
{
printf("%s", jiffies);
exit(0);
}
When compiled it keeps saying 'jiffies' ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-23-2005 #1Just Joined!
- Join Date
- Nov 2005
- Posts
- 5
Simple Program Using Jiffies?
I'm trying just a simple program using jiffies and I can't get it to compile.
#include <stdio.h>
int main()
{
printf("%s", jiffies);
exit(0);
}
When compiled it keeps saying 'jiffies' undeclared (first time being used in function).
I don't understand why this doesn't work?
- 11-23-2005 #2
Why are you trying to access jiffies from userspace?
- 11-23-2005 #3Just Joined!
- Join Date
- Nov 2005
- Posts
- 5
I don't know what userspace is, just trying to follow a book I bought.
- 11-23-2005 #4
Is it a book on Kernel Development, by any chance?
- 11-23-2005 #5Just Joined!
- Join Date
- Nov 2005
- Posts
- 5
No it is beginning linux programming by WROX.
- 11-23-2005 #6
Now are you copying the code verbatim from the book?


Reply With Quote
