Logu wrote:
> One more thing is that, cant we execute exit commamd using the C system()
> function. First i thought that it is not in path but when i tried with
> "whereis exit" I couldn't find the excutable. But it works in shell.

It's a bash built in command. You can use exit call. 'man 2 exit' for
more details.
> int main(void){
>   char *pass="logu";

Change this to char pass[10]="logu"; Resize it properly.

 Shridhar

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to