Date:        Sat, 2 Dec 2023 09:18:56 +0530
    From:        Mayuresh <mayur...@acm.org>
    Message-ID:  <ZWqpKE9fMGEFfRUn@localhost>

  | On NetBSD, the fopen man page clearly says 'b' is ignored. So wonder if
  | gcc layer introduces the need to use it in above usage pattern.

It is in stdio (see  src/lib/libc/stdio/flags.c) - that is in
fopen() and its siblings.   What some higher level library might
do is however entirly up to it.

kre

Reply via email to