X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=tab_posix.sh;h=30f97bed59a7e31f704a996364dd0949e8acb828;hb=e92caf2ca76bae6e66522fcb66a46d4dee8c5f7f;hp=7be1ac26a341d657bafc70a785fc9f576949df1e;hpb=f27b79f598234ec439af4eb8f023e8e4db915fae;p=musl-tables diff --git a/tab_posix.sh b/tab_posix.sh index 7be1ac2..30f97be 100755 --- a/tab_posix.sh +++ b/tab_posix.sh @@ -47,7 +47,7 @@ BEGIN { legend = legend "
  • p - function prototype" legend = legend "
  • x - external and forward variable declaration" legend = legend "" - legend = legend "

    (any option mark found in the synopsis of a manual is listed in the option column, this is often wrong)

    (STREAMS and posix_trace* api is excluded)" + legend = legend "

    (STREAMS and posix_trace* apis are excluded)" print "

    musl vs posix api

    " print commit @@ -80,8 +80,11 @@ BEGIN { s = s "" $1 "" n = split($2, x, " ") s = s "" - for (i = 1; i <= n; i++) - s = s " " x[i] "" + for (i = 1; i <= n; i++) { + h = x[i] + gsub(/\//, "_", h) + s = s " " x[i] "" + } n = split($3, x, " ") s = s "" for (i = 1; i <= n; i++)