documentation/5074: Missing ESRCH documentation in ktrace.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

documentation/5074: Missing ESRCH documentation in ktrace.2

Kristaps.Dzonsons
>Number:         5074
>Category:       documentation
>Synopsis:       ktrace.2 lacks documentation on ESRCH errno
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 12 02:20:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kristaps Johnson
>Release:        CURRENT
>Organization:
net
>Environment:
        System      : OpenBSD 3.8
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
ktrace.2 lacks documentation on ESRCH calls, for instance, calling

ktrace(NULL, KTROP_CLEAR, KTRFAC_PSIG, 666);
        /* Make sure that 666 doesn't exist. */

...will throw an ESRCH, which is obvious but not listed in the docs.
>How-To-Repeat:
See description.
>Fix:
Add to ERRORS section of ktrace.2:

.It Bq Er ESRCH
The named pid does not exist.


>Release-Note:
>Audit-Trail:
>Unformatted: