1. 22 11月, 2012 1 次提交
    • R
      add back NSIG, removed from powerpc in last commit, but for all archs · 65b98213
      Rich Felker 提交于
      unlike the previous definition, NSIG/_NSIG is supposed to be one more
      than the highest signal number. adding this will allow simplifying
      libc-internal code that makes signal-related syscalls, which can be
      done as a later step. some apps might use it too; while this usage is
      questionable, it's at least not insane.
      65b98213
  2. 08 9月, 2012 1 次提交
    • R
      default features: make musl usable without feature test macros · c1a9658b
      Rich Felker 提交于
      the old behavior of exposing nothing except plain ISO C can be
      obtained by defining __STRICT_ANSI__ or using a compiler option (such
      as -std=c99) that predefines it. the new default featureset is POSIX
      with XSI plus _BSD_SOURCE. any explicit feature test macros will
      inhibit the default.
      
      installation docs have also been updated to reflect this change.
      c1a9658b
  3. 07 9月, 2012 1 次提交
    • R
      use restrict everywhere it's required by c99 and/or posix 2008 · 400c5e5c
      Rich Felker 提交于
      to deal with the fact that the public headers may be used with pre-c99
      compilers, __restrict is used in place of restrict, and defined
      appropriately for any supported compiler. we also avoid the form
      [restrict] since older versions of gcc rejected it due to a bug in the
      original c99 standard, and instead use the form *restrict.
      400c5e5c
  4. 13 7月, 2012 2 次提交
  5. 23 5月, 2012 2 次提交
  6. 14 4月, 2012 1 次提交
    • R
      rename __sa_restorer to sa_restorer in struct sigaction · 0115a6ed
      Rich Felker 提交于
      this is legal since sa_* is in the reserved namespace for signal.h,
      per posix. note that the sa_restorer field is not used anywhere, so
      programs that are trying to use it may still break, but at least
      they'll compile. if it turns out such programs actually need to be
      able to set their own sa_restorer to function properly, i'll add the
      necessary code to sigaction.c later.
      0115a6ed
  7. 26 1月, 2012 1 次提交
  8. 22 9月, 2011 1 次提交
  9. 20 9月, 2011 3 次提交
  10. 12 9月, 2011 1 次提交
  11. 03 9月, 2011 1 次提交
  12. 17 6月, 2011 1 次提交
  13. 06 5月, 2011 1 次提交
  14. 13 4月, 2011 1 次提交
  15. 30 3月, 2011 1 次提交
    • R
      implement POSIX timers · 80c4dcd2
      Rich Felker 提交于
      this implementation is superior to the glibc/nptl implementation, in
      that it gives true realtime behavior. there is no risk of timer
      expiration events being lost due to failed thread creation or failed
      malloc, because the thread is created as time creation time, and
      reused until the timer is deleted.
      80c4dcd2
  16. 20 2月, 2011 1 次提交
  17. 17 2月, 2011 1 次提交
  18. 16 2月, 2011 2 次提交
  19. 15 2月, 2011 2 次提交
  20. 12 2月, 2011 1 次提交