raw1394_new_handle

Name

raw1394_new_handle --  create new handle

Synopsis

raw1394handle_t raw1394_new_handle ( void);

Arguments

void

no arguments

Description

Creates and returns a new handle which can (after being set up) control one port. It is not allowed to use the same handle in multiple threads or forked processes. It is allowed to create and use multiple handles, however. Use one handle per thread which needs it in the multithreaded case.

Returns

the created handle or NULL when initialization fails. In the latter case errno either contains some OS specific error code or 0 if the error is that libraw1394 and raw1394 don't support each other's protocol versions.