This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Why is getentropy marked with warn_unused_result?


Hi!

I recently opened a bug in the Qt project[1] because it failed to
compile on my system. The reason this happened is because it ignored the
return value of a getentropy() call, and that's marked with __wur.

Why is that, since it shouldn't fail under normal circumstances (at
least that's what Qt's sources claim)?

Florian

[1] https://bugreports.qt.io/browse/QTBUG-61968

-- 
https://www.qutebrowser.org  | me@the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/

Attachment: signature.asc
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]