mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Daniel Sabogal <dsabogalcc@gmail.com>
To: musl@lists.openwall.com
Subject: Header conformance/improvements
Date: Tue, 11 Oct 2016 18:44:14 -0400	[thread overview]
Message-ID: <CAFhhQJShaZ_6-vy=VmKuUu+YVChk7XbrkYbn2-m-WJKuGOZdDw@mail.gmail.com> (raw)

Here's a list of observations from musl's headers.

namespace/feature testing
-------------------------
dirent.h:36-7: (seek|tell)dir - XSI
grp.h:32-4: (get|end|set)grent - XSI
pwd.h:30-2: (set|end|get)pwent - XSI
stdlib.h:103: mkostemp - GNU
sys/stat.h:82,85: mknod[at] - XSI
sys/time.h:13-29: sys/time.h - XSI header
time.h:121: tzname - base, not XSI
unistd.h:113,116: setre(uid|gid) - XSI
wchar.h:70: wcswcs - issue 6 XSI and wcs[a-z], but removed

misc
----
stdlib.h:155-8:
glibc provides locale_t under _GNU_SOURCE. maybe it should
be provided and used in place of struct __locale_struct.

string.h:88:
gcc generates an implicit-function-declaration warning from alloca
when using strdupa. aside: glibc also provides strndupa.

parameter names
---------------
grp.h:37: stream
ifaddrs.h:27,28: ifp, ifap
stdlib.h:42: alignment, size
sys/xattr.h:16,19: filedes
threads.h:78: key
wchar.h:56,168: n

typos
-----
sys/param.h:10: CANBSIZE -> CANBSIZ
utmpx.h:41: | -> ||


             reply	other threads:[~2016-10-11 22:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-11 22:44 Daniel Sabogal [this message]
2016-10-20 21:30 ` Rich Felker
2016-10-20 23:19   ` Daniel Sabogal
2016-11-07 16:50     ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFhhQJShaZ_6-vy=VmKuUu+YVChk7XbrkYbn2-m-WJKuGOZdDw@mail.gmail.com' \
    --to=dsabogalcc@gmail.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).