-
Alberto Faria authored
They currently return the value of their 'bytes' parameter on success. Make them return 0 instead, for consistency with other I/O functions and in preparation to implement them using generated_co_wrapper. This also makes it clear that short reads/writes are not possible. Signed-off-by:
Alberto Faria <afaria@redhat.com>
Message-Id: <20220705161527.1054072-2-afaria@redhat.com>
Reviewed-by:
Hanna Reitz <hreitz@redhat.com>
Signed-off-by:
Hanna Reitz <hreitz@redhat.com>Alberto Faria authoredThey currently return the value of their 'bytes' parameter on success. Make them return 0 instead, for consistency with other I/O functions and in preparation to implement them using generated_co_wrapper. This also makes it clear that short reads/writes are not possible. Signed-off-by:
Alberto Faria <afaria@redhat.com>
Message-Id: <20220705161527.1054072-2-afaria@redhat.com>
Reviewed-by:
Hanna Reitz <hreitz@redhat.com>
Signed-off-by:
Hanna Reitz <hreitz@redhat.com>
Loading