LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2008, 05:26 AM   #1
tkm
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Rep: Reputation: 0
C++ library reference guide


Hello,

I'm programming in eclipse. I want double click a C/C++ function/class and press F1 and bring up the documentation of the function or class.

But nothing comes up.

I know that documentation is on my system but I can get to it.

man 3 time

Doesn't work.

How do other linux (eclipse) programmers this?

Regards,

Theo
 
Old 04-18-2008, 07:02 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Are you saying it doesn't work when you go to a terminal and type man 3 time? What does it do? Is your /etc/manpath.config correct?
 
Old 04-24-2008, 02:15 PM   #3
tkm
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
>Are you saying it doesn't work when you go to a terminal and type man 3 time? What does it do? Is your /etc/manpath.config correct?

If I type: man 3 time
I get the manualpage for orbd(1).
When I press Q, I get:
Reformatting orbd-java-1_6_0-sun(1), please wait...
--Man-- next: time(1) [ view (return) | skip (Ctrl-D) | quit (Ctrl-C) ]

I don't know what /etc/manpath.config should say.
I did the same test with: printf
man 3 printf
gives me the correct page.

I'm on openSuse 10.3

Regards,

Theo
 
Old 04-24-2008, 02:51 PM   #4
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
Quote:
Originally Posted by tkm View Post
If I type: man 3 time
I get the manualpage for orbd(1).
When I press Q, I get:
Reformatting orbd-java-1_6_0-sun(1), please wait...
--Man-- next: time(1) [ view (return) | skip (Ctrl-D) | quit (Ctrl-C) ]
the last line is expected behavior when you do a "man -a time" - which would show all man pages for time in sequence.... So typing 'Q' (to quit) brings up that prompt that allows you to look at the next man page for time, skip it, or quit viewing man pages.

so.. try "man -a time" & see if you get only time man pages back.

and.. for the record, the C++ docs for time is "man 2 time" (at least that's the way it is on my machine).
 
Old 04-25-2008, 04:50 PM   #5
tkm
LQ Newbie
 
Registered: Mar 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Sorry,

In linux, time is in section 2 and in 3p.
In BSD unix time is in section 3, I got the 2 mixed up.

My first question is still unanswered.
How do I get the C/C++ man page information in an Eclipse window when I need it?
If I hover over printf I get small window with the function call. I want to read the full documentation in Eclipse.
I there no plugin that makes C/C++ library reference available in Eclipse?

Regards,

Theo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shared Library error : undefined reference xs2harpreet Programming 6 03-11-2009 06:55 PM
Red Hat Linux 9 Reference Guide Mark_Smith Linux - Security 2 08-13-2007 10:47 AM
LXer: Embedded Linux Distributions Quick Reference Guide (Part 2) LXer Syndicated Linux News 0 01-27-2007 08:54 PM
Linking own library: undefined reference to otosigo Programming 1 12-02-2004 09:05 AM
undefined reference to a function included in a library i made!!! keos Programming 5 02-21-2004 05:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration