9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Guys,
May i know how can we de reference the code reference variable.?
my $a = sub{$a=shift;$b=shift;print "SUM:",($a+$b),"\n";};
print $a->(4,5);
How can we print the whole function ?
Please suggest me regarding this.
Thanks for your time :)
Cheers,
Ranga :) (0 Replies)
Discussion started by: rangarasan
0 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
Can anyone suggest me any UNIX Study material and UNIX Certification specific for TELECOM-DOMAIN.
Best Regards,
Om Prakash. (14 Replies)
Discussion started by: omprakash1986
14 Replies
3. AIX
Hi,
I'm thinking about getting IBM certified in AIX 6. I can't seem to find any material that can be used to study for this. IBM courses are way too expensive.
Does anyone have any recommendations on material for IBM test 000:223? (5 Replies)
Discussion started by: bbbngowc
5 Replies
4. Ubuntu
Any study material for begineers for Ubuntu please?? (4 Replies)
Discussion started by: niranjany
4 Replies
5. UNIX for Dummies Questions & Answers
Any study material for begineers for UNIX please?? (2 Replies)
Discussion started by: niranjany
2 Replies
6. Shell Programming and Scripting
Does anyone here have the AU23 Course material........
Edit: Please do not post your e-mail address while asking for help. (0 Replies)
Discussion started by: gurpreets
0 Replies
7. Windows & DOS: Issues & Discussions
Hi,
Can anyone provide the UNIX material.
Thanks. (1 Reply)
Discussion started by: biyyanimv
1 Replies
8. UNIX for Dummies Questions & Answers
I am currently a student at Bergen Community College. My major is Networking Administration. I am having a tough time with INF-254 (UNIX).
I need some help! What is "README bit"
I am having trouble understanding certain concepts:
For Example, what does it mean to set SUID, or SGID?
... (1 Reply)
Discussion started by: nelson ele
1 Replies
9. New to Unix. Which books should I read?
Hi!
I have 1.5 years experience in unix environment and shell scripting. Now, I started learning UNIX internals and network programming. Can you please help in finding the same material on the net
Thanks
Srinivas. (7 Replies)
Discussion started by: srinivaskathika
7 Replies
killpg(2) System Calls Manual killpg(2)
NAME
killpg - Sends a signal to a process group
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <signal.h>
int killpg(
pid_t process_grp,
int signal);
Application developers may want to specify an #include statement for <sys/types.h> before the one for <signal.h> if programs are being
developed for multiple platforms. The additional #include statement is not required on Tru64 UNIX systems or by ISO or X/Open standards,
but may be required on other vendors' systems that conform to these standards.
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
killpg(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies the process group. Specifies the signal. If the signal parameter is a value of 0 (zero, the null signal), error checking is per-
formed but no signal is sent. This parameter can be used to check the validity of the process parameter.
DESCRIPTION
The killpg() function sends the signal specified by the signal parameter to the group of processes specified by the process_grp parameter.
The process sending the signal must have the same effective user ID or saved set-user-ID as the members of the process group, or the send-
ing process must belong to the superuser. The continue signal, SIGCONT, is a special case: it may be sent to any process that is a descen-
dent of the current process.
RETURN VALUES
Upon successful completion, the killpg() function returns a value of 0 (zero). Otherwise, a value of -1 is returned, and errno is set to
indicate the error.
ERRORS
If any of the following conditions occurs, the killpg() function sets errno to the corresponding value: The signal parameter is not a valid
signal number. No process can be found in process_grp.
[Tru64 UNIX] The process group was given as 0 (zero), but the sending process does not have a process group. The real or saved
user ID does not match the real or effective user ID of the receiving process, the calling process does not have the appropriate
privilege, and the process is not sending a SIGCONT signal to one of its session's processes.
RELATED INFORMATION
Functions: getpid(2), kill(2), setpgid(2), sigaction(2), sigvec(2), raise(3),
Standards: standards(5) delim off
killpg(2)