Section 2 man pages missing
Hi
I am a fedora user for years now. I just installed fedora 12 x86_64 and loved it. It has added more features to it and it looks are great. but yesterday i just noticed that the section 2 man pages are missing from fedora 12. Guys is there any package that I have to install and I missed to install it and so it is not showing the man pages. I have installed all the standard development packages already and they all work fine. One example is the gettimeofday() function call, this works fine when I use it in my code. But unfortunately there are no man pages for it. Anybody have a ideas how to fix this problem or what package I have to install so that the section 2 man pages will be displayed. Thanks in advance.
Re: Section 2 man pages missing
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.
Re: Section 2 man pages missing
Hello
I think you have a missing or a corrupt package. I am also using Fedora 12 and i do not have such issues. Still, If you want do install the man pages package then just follow to the below posted.
Code:
man-pages-3.22-6.fc12.noarch : Man (manual) pages from the Linux Documentation
: Project
Repo : installed
Matched from:
Other : Provides-match: /usr/share/man/man2/gettimeofday.2.gz
Any more problems do post back. I think this will definitely fix your problem, this is an simple issue and you can fix it easily.
Re: Section 2 man pages missing
Hi
I have recently upgraded my system to fedora 12. And I am also facing the same problems with the man pages. Platform is i686. Even after group installing the Development tools I am get such a message.
Code:
nachi@laptop ~]$ man gettimeofday
No manual entry for gettimeofday
Though now I have fixed the problem by just installing it.
Code:
"yum install man-pages"
This is strange, I had never faced such problem before, that is I had to never install the man pages manually after my installation of the Fedora operating system. Forget it, might be a small mistake.