Signup
Search Linux manpages For:  

tgkill(2) -- Linux man page

 

NAME

tgkill - Send signal sig to one specific thread, tgid  

SYNOPSIS

long sys_tgkill (int tgid, int pid, int sig);
 

DESCRIPTION

Same as tkill(pid,sig), but only sends the signal if the target thread has its thread group ID tgid. Returns error code ESRCH if tgid does not match, otherwise returns the tkill() result.  

RETURN VALUE

tgkill returns 0 on success; otherwise, tgkill returns one of the errors listed in the "Errors" section.  

ERRORS

-EINVAL
tgkill returns this error if pid or tgid are less than zero. This call is only valid for single tasks.
-ESRCH
This error is returned if pid exists but no longer belongs to the target process.
 

SEE ALSO

tkill(2), kill(2)  

AUTHOR

Niki Rahimi


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.