raw1394_new_handle

Name

raw1394_net_handle -- create new handle

Synopsis

raw1394handle_t raw1394_new_handle(void);

Description

Creates and returns a new handle. 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.

Return Value

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.