Name
bproc_version -- get BProc version information
Synopsis
int bproc_version
( struct bproc_version_t *vers
);
Description
bproc_version returns version information for the
BProc kernel modules. This will be the same as the version
information on the BProc daemons. The information will be stored in
the structure pointed to by vers.
struct bproc_version_t {
char bproc_magic[3]; /* 'B', 'P', 'r' */
uint8_t arch; /* Architecture - BPROC_ARCH */
uint32_t magic; /* Magic number */
char version_string[24]; /* Version string */
}; |
Return Value
On success, bproc_version will return 0. On error,
bproc_version will return -1 and errno will be
set appropriately.
Errors
- EBUSY
The BProc system is not running.