| SC_OPEN(2) | SC_OPEN(2) |
#include <sc.h>
int sc_open(int* scfd, char* devname, char** argv);
sc_open() function opens a device and creates a file
descriptor for the opened I/O device. If the opened descriptor is
global, the descriptor can be used from any processing node in a
parallel process once it is opened.
The devname character string must be a device name.
sc_open() returns 0 on success
or one of the following errors:
ENODEVEBUSYEIOEINTR
sc_close(2)