![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Passing global variable to a function which is called by another function | sars | Shell Programming and Scripting | 4 | 06-30-2008 11:39 AM |
| Log function | Ernst | Shell Programming and Scripting | 17 | 03-19-2007 12:31 PM |
| Function within function (Recurance) | chassis | UNIX for Dummies Questions & Answers | 2 | 09-19-2006 09:32 AM |
| function | mpang_ | Shell Programming and Scripting | 1 | 07-26-2006 12:16 AM |
| How to convert the "select" function into a "poll" function | rbolante | High Level Programming | 1 | 07-10-2001 10:49 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Regarding cuserid() function in 'C'
Hi,
I am doing a (Make gapw), where I have the following line of code at Line No.96 :- 96 DISCARD strcpy(user , (char*) cuserid((char*)0)); But I am not able to compile due to the only 1 following error :- gapw.c: In function `main': gapw.c:96: warning: cast to pointer from integer of different size I included #include <stdlib.h> and #include <libgen.h>, in the file, but still I am not able to compile. I think, there is a problem with the usage of cuserid() function. Request you to please help me to debug the error. Thanks in advance. Best Regards, Marconi Last edited by marconi; 07-22-2008 at 03:59 PM.. |
| Bookmarks |
| Tags |
| solaris |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|