Search Results

Search: Posts Made By: jackliang
23,455
Posted By hergp
Just in case your problem isn't solved yet: ...
Just in case your problem isn't solved yet:

If you want to isolate a child process from signals to the parent, you have to use setpgrp to create a new process group, like:


pid_t pid = fork();...
Forum: Programming 11-11-2010
12,058
Posted By Corona688
Unless otherwise handled? Gracelessly kill the...
Unless otherwise handled? Gracelessly kill the program. A very few signals have special hardwired behavior, like SIGSTOP and SIGCONT, but these trigger behavior that happens outside the program and...
Forum: Programming 11-11-2010
12,058
Posted By fpmurphy
Your application has to handle what occurs when...
Your application has to handle what occurs when it gets a TERM signal otherwise the default behavior occurs.
Forum: Programming 11-11-2010
12,058
Posted By JohnGraham
That's an unusual question... why? There is...
That's an unusual question... why?

There is no signal to specifically flush all buffers, unless (i) a particular application includes a facility for specifically doing that or (ii) you don't mind...
4,529
Posted By Scrutinizer
Look it up in the man page: ...
Look it up in the man page:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/c02267599/c02267599.pdf
4,529
Posted By vbe
And HP-UX /sbin/sh... the /usr/bin/sh is the...
And HP-UX /sbin/sh... the /usr/bin/sh is the posix...

ran:/sbin $ file sh
sh: PA-RISC1.1 shared executable
ran:/sbin $ file /usr/bin/sh
/usr/bin/sh: PA-RISC1.1 shared executable...
4,529
Posted By Scrutinizer
AFAIK of the modern OS, only on Solaris /bin/sh...
AFAIK of the modern OS, only on Solaris /bin/sh points to an actual bare-bones Bourne Shell, which is indeed the "earliest shell".
On most other modern systems /bin/sh is either a soft link or a...
4,529
Posted By Yogesh Sawant
at rhel 5.5 here: [root@newinstaller19 ~]#...
at rhel 5.5 here:
[root@newinstaller19 ~]# which sh
/bin/sh
[root@newinstaller19 ~]# ls -l /bin/sh
lrwxrwxrwx 1 root root 4 Oct 12 09:28 /bin/sh -> bash
[root@newinstaller19 ~]#
and then:...
4,529
Posted By rdcwayx
depand on. There are several sh in the system. ...
depand on. There are several sh in the system.

For example, in Solaris,

-bash-3.00$ ls -l /usr/bin/sh
lrwxrwxrwx 1 root root 13 Mar 5 2007 /usr/bin/sh -> ../../sbin/sh
-bash-3.00$ ls -l...
Showing results 1 to 9 of 9

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