execvp and nvmatch () issue on solaris3166 (4/28/2005 8:41:33 PM) comp.unix.programmer All, I am trying to execute a binary "mybinary" with arguments using execvp() system call as in: BTW: I can run "bin/mybinary hello" from command line and it returns the right value. char * const myargc[]={"bi... Shekar
sysconf and ATEXIT_MAX on solaris 91158 (4/26/2005 3:01:42 PM) comp.unix.solaris All, I have a small program to get the ATEXIT_MAX value using sysconf() system call. I am getting -1 on solaris 9 and 10 but getting an appropriate result on solaris 8. Has this value been depricated on solari... Shekar
linking libgcc_s.so.1 - problem with LD_PRELOAD8216 (4/20/2005 3:07:33 PM) comp.unix.solaris All, I have a c program that intercepts exec system call. I am able to compile it with ${GCC} -c -fPIC -Wall -I. -c $*.c ${GCC} -shared -o l_mylib.so l_mylib.o -ldl If I see the output of "ldd l... Shekar
Building solaris patches??1112 (3/28/2005 3:34:42 PM) comp.unix.solaris All, I need to build a solaris patch for our application. I have gone through the developer guide and there are many things I am missing (for example, what is Patch_label as mentioned in checkinstall script?).... Shekar
Finding if read/write/execute permissions2414 (3/18/2005 8:01:17 PM) comp.unix.solaris All, In bourne shell, I would like to find out if a user has read/write/execute permissions on a given folder. Is this possible? Thanks, Shekar ... Shekar
pkgadd issues6203 (3/16/2005 9:20:49 PM) comp.unix.solaris All, I have a request script which uses "su - user -c "pwd"" -OR- "su - user -c "echo $SHELL"" to determine the users shell and home directory. We had to do it this way because user maybe authenticated using... Shekar
su command not working within request script3148 (3/16/2005 7:39:34 PM) comp.sys.sun.admin All, I have a request script which uses "su - user -c "pwd"" -OR- "su - user -c "echo $SHELL"" to determine the users shell and home directory. We had to do it this way because user maybe authenticated using n... Shekar
Determine MAC address on solaris2372 (2/25/2005 8:05:07 PM) comp.unix.solaris All, How do I determine the mac address of all the NIC cards on a Solaris machine? ifconfig only gives the mac address if entry in eeprom is set (or during openboot). Thanks, Shekar ... Shekar
Cannot kill sysdef process.0155 (1/25/2005 8:54:09 PM) comp.sys.sun.admin Pros, We are experiencing weird problems. Somehow the command sysdef is hanging on solaris 8 node. None of the kill options are working. I cannot think of anything different that is done today than yesterday. ... Shekar
Initializing array of structure!!726 (11/19/2004 6:25:46 AM) comp.lang.c All, I need to initialize an array of structures but I don't know how may elements are there. I tried to malloc the array but I am not sure how to initialize them. Snippet: struct myarray{ int con... ctippur
Trivial Java question334 (4/21/2004 6:16:35 AM) comp.lang.java.programmer All, I have a trivial Java question. I want to change the value of one variable on the calling object. How do I do that in Java. For example, I have a Vector "abc" in Class "A" and would like to change this ... ctippur959(23)
Associate argument with entry in header file841 (8/20/2004 8:54:12 PM) comp.lang.c All, We want to associate a argument with a corresponding entry in header file. How do we do this? The argument is defined in a header file. We want to extract the value of the #define variable. For example, ... ctippur959(23)