diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-21 23:44:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-21 23:44:41 +0200 |
commit | 2afedded4ac11b80341a12c44d1af000931e2f80 (patch) | |
tree | 09c7e4cdabf03567ba533e55c9d3940191180c94 | |
parent | Add libcoopgamma_get_gamma_recv.3 (diff) | |
download | libcoopgamma-2afedded4ac11b80341a12c44d1af000931e2f80.tar.gz libcoopgamma-2afedded4ac11b80341a12c44d1af000931e2f80.tar.bz2 libcoopgamma-2afedded4ac11b80341a12c44d1af000931e2f80.tar.xz |
Add libcoopgamma_set_gamma_recv.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r-- | doc/man/libcoopgamma_set_gamma_recv.3 | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/doc/man/libcoopgamma_set_gamma_recv.3 b/doc/man/libcoopgamma_set_gamma_recv.3 new file mode 100644 index 0000000..073343b --- /dev/null +++ b/doc/man/libcoopgamma_set_gamma_recv.3 @@ -0,0 +1,52 @@ +.TH LIBCOOPGAMMA_SET_GAMMA_RECV 3 LIBCOOPGAMMA +.SH "NAME" +libcoopgamma_set_gamma_recv - Check whether a request to modify the filter table for a CRTC succeeded +.SH "SYNOPSIS" +.nf +#include <libcoopgamma.h> + +int libcoopgamma_set_gamma_recv(libcoopgamma_context_t *restrict \fIctx\fP, + libcoopgamma_async_context_t *restrict \fIasync\fP); +.fi +.P +Link with +.IR -lcoopgamma . +.SH "DESCRIPTION" +The +.BR libcoopgamma_set_gamma_recv () +function parses the response for the requests +sent using the +.BR libcoopgamma_set_gamma_send () +function with the same +.I ctx +and +.I async +arguments. The +.I async +must have been selected by the last call to the +.BR libcoopgamma_synchronise (3) +function. +.SH "RETURN VALUES" +Upon successful completion, the +.BR libcoopgamma_set_gamma_recv () +function returns 0. On error, -1 is returned and +.I errno +is set appropriately. +.SH "ERRORS" +The +.BR libcoopgamma_set_gamma_recv () +function may fail for any reason specified for +.BR malloc (3). +The function may also fail for the following reasons: +.TP +.B EBADMSG +The received message was corrupt. +.SH "SEE ALSO" +.BR libcoopgamma.h (0), +.BR libcoopgamma_async_context_destroy (3), +.BR libcoopgamma_synchronise (3), +.BR libcoopgamma_set_gamma_send (3), +.BR libcoopgamma_set_gamma_sync (3), +.BR libcoopgamma_get_crtcs_recv (3), +.BR libcoopgamma_get_gamma_info_recv (3), +.BR libcoopgamma_get_gamma_recv (3) |