Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144429825
D52698.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
663 B
Referenced Files
None
Subscribers
None
D52698.diff
View Options
diff --git a/lib/libc/gen/psignal.3 b/lib/libc/gen/psignal.3
--- a/lib/libc/gen/psignal.3
+++ b/lib/libc/gen/psignal.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd May 10, 2025
+.Dd September 23, 2025
.Dt PSIGNAL 3
.Os
.Sh NAME
@@ -141,6 +141,13 @@
can be either the name of the signal, with or without the
.Dq SIG
prefix, or a decimal number.
+.Sh RETURN VALUES
+The
+.Fn sig2str
+and
+.Fn str2sig
+return 0 on success and -1 on translation failure.
+In the latter case the memory to store the translation result is left intact.
.Sh SEE ALSO
.Xr sigaction 2 ,
.Xr perror 3 ,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 9:50 AM (4 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28565451
Default Alt Text
D52698.diff (663 B)
Attached To
Mode
D52698: psignal(3): document return values of sig2str() and str2sig
Attached
Detach File
Event Timeline
Log In to Comment