17 .Sh NAME
18 .Nm Pgrab_error
19 .Nd get Pgrab error message string
20 .Sh LIBRARY
21 .Lb libproc
22 .Sh SYNOPSIS
23 .In libproc.h
24 .Ft "const char *"
25 .Fo Pgrab_error
26 .Fa "int error"
27 .Fc
28 .Sh DESCRIPTION
29 The
30 .Fn Pgrab_error
31 function returns a pointer to a human-readable character string
32 describing the error that occurred.
33 This function only knows how to translate errors that are stored in
34 .Fa perr
35 during a failed call to
36 .Xr Pgrab 3PROC ,
37 .Xr Pfgrab_core 3PROC,
38 .Xr Pgrab_core 3PROC ,
39 or
40 .Xr Pgrab_file 3PROC .
41 .Sh RETURN VALUES
42 The
43 .Fn Pgrab_error
44 function always returns a pointer to a character string that describes
45 the error that occurred, even if it is an unknown error.
46 .Sh INTERFACE STABILITY
47 .Sy Uncommitted
48 .Sh MT-LEVEL
49 .Sy MT-Safe
50 .Sh SEE ALSO
51 .Xr libproc 3LIB ,
52 .Xr Pgrab 3PROC ,
53 .Xr Pgrab_core 3PROC ,
54 .Xr Pgrab_file 3PROC
|
17 .Sh NAME
18 .Nm Pgrab_error
19 .Nd get Pgrab error message string
20 .Sh LIBRARY
21 .Lb libproc
22 .Sh SYNOPSIS
23 .In libproc.h
24 .Ft "const char *"
25 .Fo Pgrab_error
26 .Fa "int error"
27 .Fc
28 .Sh DESCRIPTION
29 The
30 .Fn Pgrab_error
31 function returns a pointer to a human-readable character string
32 describing the error that occurred.
33 This function only knows how to translate errors that are stored in
34 .Fa perr
35 during a failed call to
36 .Xr Pgrab 3PROC ,
37 .Xr Pfgrab_core 3PROC ,
38 .Xr Pgrab_core 3PROC ,
39 or
40 .Xr Pgrab_file 3PROC .
41 .Sh RETURN VALUES
42 The
43 .Fn Pgrab_error
44 function always returns a pointer to a character string that describes
45 the error that occurred, even if it is an unknown error.
46 .Sh INTERFACE STABILITY
47 .Sy Uncommitted
48 .Sh MT-LEVEL
49 .Sy MT-Safe
50 .Sh SEE ALSO
51 .Xr libproc 3LIB ,
52 .Xr Pgrab 3PROC ,
53 .Xr Pgrab_core 3PROC ,
54 .Xr Pgrab_file 3PROC
|