Re: [PATCH v2 03/11] fsopen.2: document 'new' mount api

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


(追記) (追記ここまで)



On 2025年08月08日, Askar Safin <safinaskar@xxxxxxxxxxxx> wrote:
> > If there are no messages in the message queue,
> > read(2) will return no data and errno will be set to ENODATA.
> > If the buf argument to read(2) is not large enough to contain the message,
> > read(2) will return no data and errno will be set to EMSGSIZE.
>
> read(2) will return -1 in these cases? If yes, then, please, write this.
Yes (well, the syscall returns -EMSGSIZE). I'll try to add a note
without making the paragraph too wordy...
-- 
Aleksa Sarai
Senior Software Engineer (Containers)
SUSE Linux GmbH
https://www.cyphar.com/

Attachment: signature.asc
Description: PGP signature


[Index of Archives] [Linux USB Devel] [Video for Linux] [Linux Audio Users] [Yosemite News] [Linux Kernel] [Linux SCSI]

(追記) (追記ここまで)
Powered by Linux

AltStyle によって変換されたページ (->オリジナル) /