Search Results

Search: Posts Made By: iitmadhu
5,363
Posted By iitmadhu
sati01> uname -a SunOS sati01 5.10...
sati01> uname -a
SunOS sati01 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V240

On this I am getting Status =1 for command not found.
Getting the same result on 5.9 also.
5,363
Posted By iitmadhu
A simple c file: #include <stdlib.h> ...
A simple c file:

#include <stdlib.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
int main()
{
int exitcode;
char *buf="/var/tmp/bin/em_validation";
char *buf1="grep...
5,363
Posted By iitmadhu
How to distinguish between "command not found" and "command with no result"
system() call imeplemented in solaris is such a way that:
Command not found - return code 1
Command executed successfully without Output - return code 1
how to distinguish between these two based...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 02:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy