pthread_kill.3 (32eef9aeb1f39a1623cea55da147c89abbd5b9a5) pthread_kill.3 (9d09157a0f55ef695b75eafb407f57206453a1f1)
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 41 unchanged lines hidden (view full) ---

50.Fa sig
51is 0, error checking is performed, but no signal is actually sent.
52.Sh RETURN VALUES
53If successful,
54.Fn pthread_kill
55returns 0.
56Otherwise, an error number is returned.
57.Sh ERRORS
1.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>.
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice(s), this list of conditions and the following disclaimer as

--- 41 unchanged lines hidden (view full) ---

50.Fa sig
51is 0, error checking is performed, but no signal is actually sent.
52.Sh RETURN VALUES
53If successful,
54.Fn pthread_kill
55returns 0.
56Otherwise, an error number is returned.
57.Sh ERRORS
58The
58.Fn pthread_kill
59.Fn pthread_kill
59will fail if:
60function will fail if:
60.Bl -tag -width Er
61.It Bq Er ESRCH
62.Fa thread
63is an invalid thread ID.
64.It Bq Er EINVAL
65.Fa sig
66is an invalid or unsupported signal number.
67.El
68.Sh SEE ALSO
69.Xr kill 2 ,
70.Xr pthread_self 3 ,
71.Xr raise 3
72.Sh STANDARDS
61.Bl -tag -width Er
62.It Bq Er ESRCH
63.Fa thread
64is an invalid thread ID.
65.It Bq Er EINVAL
66.Fa sig
67is an invalid or unsupported signal number.
68.El
69.Sh SEE ALSO
70.Xr kill 2 ,
71.Xr pthread_self 3 ,
72.Xr raise 3
73.Sh STANDARDS
74The
73.Fn pthread_kill
75.Fn pthread_kill
74conforms to
76function conforms to
75.St -p1003.1-96
77.St -p1003.1-96