[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

LSB.os/readv_L 22


>From readv_L 22 test:

        readv(5, iov, 0) did not behave as expected
        RETURN VALUES: expected: -1, observed: 0
        ERRNO VALUES: expected: 22 (EINVAL), observed: 0 (NO ERROR)

As far as I understand POSIX, readv with count=0 may fail, but must
not. So the test is wrong.
I'm right or do we here misread POSIX?

Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH            Deutschherrenstr. 15-19       D-90429 Nuernberg
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

Reply to: