Hi
The section 2 man pages which you are talking works perfect on my machine, I ma running Fedora 12 on x86_64. Here is the output of the
Code:
man pages.
GETTIMEOFDAY(2) Linux Programmer’s Manual GETTIMEOFDAY(2)
NAME
gettimeofday, settimeofday - get / set time
SYNOPSIS
#include <sys/time.h>
int gettimeofday(struct timeval *tv, struct timezone *tz);
int settimeofday(const struct timeval *tv, const struct timezone *tz);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
settimeofday(): _BSD_SOURCE
DESCRIPTION
The functions gettimeofday() and settimeofday() can get and set the
time as well as a timezone. The tv argument is a struct timeval (as
specified in <sys/time.h>):
struct timeval {
time_t tv_sec; /* seconds */
I think you have not installed the packages properly, that is why it is not displaying the man pages.
Bookmarks