Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (n - p) put_awaitio(2)
To use this function in a 64-bit application on systems running H06.24 or later RVUs or J06.13 or
later RVUs, you must perform all of the following tasks:
• Include the pthread.h header file in the application.
• Compile the application using the _PUT_MODEL_ feature test macro or equivalent
compiler command option.
• Compile the application using the -Wlp64 compiler command option.
• Link the application to the yputdll library (/G/system/zdllnnn/yputdll).
NOTES
While using this API on a filenum obtained from PUT_FILE_OPEN_, the tag parameter must
be the same as the filenum parameter passed.
RETURN VALUES
PUT_SUCCESS
File number was waited on.
PUT_ERROR An error occurred. See ERRORS.
PUT_TIMEDOUT
Time limit has expired. See ERRORS.
PUT_INTERRUPTED
Wait was interrupted. See ERRORS.
ERRORS
16 filenum is not registered.
29 filenum < 0 (zero).
40 timelimit has expired.
[EINTR] Wait was interrupted via put_interrupt(), put_interruptTag( ), or a signal was
received via pthread_kill() and is not blocked, ignored, or handled.
527186-023 Hewlett-Packard Company 5−187