Sponsored Content
Full Discussion: exiting in c
Top Forums Programming exiting in c Post 19865 by Perderabo on Wednesday 17th of April 2002 12:06:33 PM
Old 04-17-2002
exit(0);
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

*Out of memory, exiting

Hi, when I launche my script , ireceive this message : *Out of memory, exiting What is the problem ? and solution ? Many thanks. PS : my unix version : SunOS SERVER03 5.8 Generic_117350-13 sun4us sparc FJSV,GPUZC-M (1 Reply)
Discussion started by: big123456
1 Replies

2. Shell Programming and Scripting

exiting from script

there are many script in my project.i am having a problem when i am trying to quit from child script.what is the command to wrap up all the parent script and calling script as well? exit 0 is not working.please help.... (1 Reply)
Discussion started by: arghya_owen
1 Replies

3. Shell Programming and Scripting

exiting from a loop

I wonder if someone could help me here. I am trying to find a way of exiting from a loop but not exiting me from the script for example #!/bin/ksh # ************* FUNCTIONS ****************** function1() { #ping test ping $1 2 > /dev/null if ; then ... (13 Replies)
Discussion started by: hcclnoodles
13 Replies

4. Shell Programming and Scripting

Exiting a manual

I'm sure it's really easy, but I have searched on Google and on the forums and haven't found anything. For instance, if I open the grep manual (man grep), I can't close it. I've tried ctrl+c, ctrl+x, scrolling to the bottom of the manual. How can I exit the manual without closing the shell? ... (8 Replies)
Discussion started by: dennis89
8 Replies

5. Shell Programming and Scripting

Exiting a script

I have a script abc.sh. Its contents are as follows: (7 Replies)
Discussion started by: lassimanji
7 Replies

6. Shell Programming and Scripting

exiting from script

Hi, I am trying to exit the script from a function. I was in assumption that if we use exit ( inside or outside the function) it will exit from the script. alternatively, return will exit from that particular function. but in my case, exit is exiting from the function and not the script.... (8 Replies)
Discussion started by: shellwell
8 Replies

7. Shell Programming and Scripting

Exiting out of the script

I have to write a script in ksh which again should call another script. Say A.ksh is calling B.ksh. Now in B.ksh if the condition we are checking for is true then we have to go back to the main script A.ksh or if the condition in B.ksh is false then we have to totally come out of the scripts. I... (1 Reply)
Discussion started by: vpv0002
1 Replies

8. Solaris

Exiting signal 6

Hello all, I have a problem when installing Solaris 10 on Enterprise 450. I booted from dvd, then the installation was started. The error appeared after determining the installation method, F2-Standard, F?-Flash...... The error was Exiting signal 6. Please, need help. Thank you (4 Replies)
Discussion started by: Hardono
4 Replies

9. Shell Programming and Scripting

While Loop Exiting

We are trying to design a flow so that an ETL job shouldn't start until the previous job completes. The script we have written is while ; do sleep 2; done The loop however exits even when the process is actually running. Why could this be happening? (12 Replies)
Discussion started by: jerome_rajan
12 Replies

10. Shell Programming and Scripting

For loop exiting

Hi , I am processing some files using below shell script the problem for loop exit after processing some files even though it exist.After modifying file.txt and rerunning the script and its running .Any Advise for i in `cat /xx/file.txt |tr -s "," '\n' ` ; do echo $i... (3 Replies)
Discussion started by: mohan705
3 Replies
acpi_listen(8)						      System Manager's Manual						    acpi_listen(8)

NAME
acpi_listen - ACPI event listener SYNOPSIS
acpi_listen [options] DESCRIPTION
acpid is the system-wide ACPI event catcher. acpi_listen is a simple shell-friendly tool which connects to acpid and listens for events. When an event occurs, acpi_listen will print it on stdout. OPTIONS
-c, --count events Receive up to a maximum number of ACPI events, then exit. -s, --socketfile filename This option changes the name of the UNIX domain socket which acpid opens. Default is /var/run/acpid.socket. -t, --time seconds Listen for the specified time in seconds, before exiting. -v, --version Print version information and exit. -h, --help Show help and exit. FILES
/var/run/acpid.socket BUGS
There are no known bugs. To file bug reports, see AUTHORS below. SEE ALSO
regcomp(3), sh(1), socket(2), connect(2) AUTHORS
Tim Hockin <thockin@hockin.org> Luca Capello <luca@pca.it> Nov 2003 acpi_listen(8)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy