Man page - ibfind(3)

Packages contas this manual

Manual

IBFIND(3) Traditional API Functions IBFIND(3)

ibfind - open a board or device (board or device)

#include <gpib/ib.h>

int ibfind(const char *name);

ibfind() returns a board or device descriptor based on the information found in the configuration file. To suppress error messages printed to stderr by ibfind() set the evironment variable IB_NO_ERROR before calling the routine. It is not required to use ibfind(), since device descriptors can be obtained with ibdev() and the 'board index' (minor number in the configuration file) can be used directly as a board descriptor.

If sucessful, returns a (non-negative) board or device descriptor. On failure, -1 is returned.

Copyright © 2003-2006, 2008 Frank Mori Hess

11/30/2025 linux-gpib 4.3.7