File: hwlocality_api_error_reporting.3

package info (click to toggle)
hwloc 2.12.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 23,576 kB
  • sloc: ansic: 60,875; xml: 13,559; sh: 7,332; makefile: 2,154; javascript: 879; cpp: 93; php: 8; sed: 5
file content (18 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.TH "hwlocality_api_error_reporting" 3 "Version 2.12.0" "Hardware Locality (hwloc)" \" -*- nroff -*-
.ad l
.nh
.SH NAME
hwlocality_api_error_reporting \- Error reporting in the API
.SH SYNOPSIS
.br
.PP
.SH "Detailed Description"
.PP 
Most functions in the hwloc API return an integer value\&. Unless documentated differently, they return 0 on success and -1 on error\&. Functions that return a pointer type return \fCNULL\fP on error\&.
.PP
\fCerrno\fP will be set to a meaningful value whenever possible\&. This includes the usual \fCEINVAL\fP when invalid function parameters are passed or \fCENOMEM\fP when an internal allocation fails\&. Some specific \fCerrno\fP value are also used, for instance for binding errors as documented in \fBCPU binding\fP\&.
.PP
Some modules describe return values of their functions in their introduction, for instance in \fBThe bitmap API\fP\&. 
.SH "Author"
.PP 
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code\&.