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
libraries pil888 UNIX for Dummies Questions & Answers 0 08-29-2007 10:17 PM
v2 standard libraries cactuar HP-UX 0 08-10-2007 11:59 AM
Libraries netsavy IP Networking 1 08-21-2005 06:21 AM
Graphics libraries robotronic High Level Programming 1 05-08-2002 02:02 AM
shared libraries thalex High Level Programming 2 11-29-2001 06:32 AM

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

Join Date: May 2004
Posts: 66
C Libraries??

I can not locate package sys/mkdev.h on HP-UX or Linux. Is it a special package or something?
Reply With Quote
Forum Sponsor
  #2  
Old 07-07-2004
Registered User
 

Join Date: May 2004
Posts: 66
I just found out that sys/mkdev.h package exists for Solaris in supporting makedev function. Is there a Linux/Unix equavilent package?

Thanks.
Reply With Quote
  #3  
Old 07-07-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Why is this in Shell Programming?

On HP-UX, there is a makedev macro in <sys/mknod.h>. Don't know about Linux.
Reply With Quote
  #4  
Old 07-07-2004
Registered User
 

Join Date: May 2004
Posts: 66
Quote:
Originally posted by Perderabo
Why is this in Shell Programming?

I don't know. I clicked on C Programming in the UNIX Environment
and it took me here.
Reply With Quote
  #5  
Old 07-07-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,616
Moved to C Programming.
Reply With Quote
  #6  
Old 07-08-2004
Registered User
 

Join Date: May 2004
Posts: 66
Thanks Driver!

May I ask another question...

Code:
char *showallargs(int fd, struct prpsinfo *p)
when i compile this line gives me an error of "warning: `struct prpsinfo' declared inside parameter list"
could you explain please?
Reply With Quote
  #7  
Old 07-08-2004
Registered User
 

Join Date: May 2004
Posts: 66
sorry i have another question... what does it mean when a compilation error says " error: dereferencing pointer to incomplete type" for this line
Code:
 int argc = p->pr_argc;
p is declared as

Code:
   struct prpsinfo *p;
from the previous question.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, solaris

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:34 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