The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Browse Web pages through command line vroomlicious UNIX for Dummies Questions & Answers 5 04-19-2008 07:06 AM
Browse Web pages through command line vroomlicious UNIX for Dummies Questions & Answers 2 04-18-2008 11:01 AM
How to develop C program using UNIX command sundar.lsr UNIX for Dummies Questions & Answers 1 02-22-2008 12:00 PM
unix command for multifile program execution alokmishra8 Linux 0 02-01-2008 01:20 AM
Java program calling a UNIX command QUartz Ite UNIX for Dummies Questions & Answers 2 11-15-2001 06:17 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-04-2006
Registered User
 

Join Date: Jul 2006
Posts: 2
man pages of any command from a c program in unix

i wanted to display the man pages of any command in unix from a c program.can some one help me plzzzzzz.
Reply With Quote
Forum Sponsor
  #2  
Old 07-04-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 979
Unless you want to create your own manpage viewer from scratch, this is the way to do it:
Code:
#include <stdlib.h>

...

system("man man");
Reply With Quote
  #3  
Old 07-04-2006
Registered User
 

Join Date: Jul 2006
Posts: 2
thanks a lot.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0