2012-01-29 03:10:03 +04:00
|
|
|
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
|
|
|
*
|
|
|
|
* uname
|
2012-07-07 08:08:28 +04:00
|
|
|
*
|
|
|
|
* Prints the kernel version information.
|
2012-01-29 03:10:03 +04:00
|
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <syscall.h>
|
|
|
|
|
|
|
|
int main(int argc, char * argv[]) {
|
|
|
|
char _uname[1024];
|
|
|
|
syscall_kernel_string_XXX(_uname);
|
|
|
|
|
|
|
|
fprintf(stdout, "%s\n", _uname);
|
|
|
|
}
|