aboutsummaryrefslogtreecommitdiff
path: root/lib/portability.h
AgeCommit message (Expand)Author
2019-11-22Add getopt(1).Elliott Hughes
2019-11-13Old gcc versions are confused by __has_include(), so nest the #ifdefsRob Landley
2019-10-27macOS: implement posix_fallocate().Elliott Hughes
2019-10-23Use adjtimex instead of adjtime (bionic hasn't got adjtime).Rob Landley
2019-10-10The __ANDROID_NDK__ symbol is missing from ndk-r20 but Dan Albert pointedRob Landley
2019-06-11Move sig_to_num and num_to_sig into portability.c.Elliott Hughes
2019-06-08macOS: numerous fixes.Elliott Hughes
2019-06-07Remove getprop, setprop, start, and stop from toyboxTom Cherry
2019-05-25Move notify.c into portability.c (collate the #ifdefs), move global variablesRob Landley
2019-05-25tail: support -f on BSD too.Elliott Hughes
2019-05-06Greatly simplify and speed up regexec0() using REG_STARTEND.Rob Landley
2019-05-02Android moved the scheduler policy functions in Q.Elliott Hughes
2019-04-21Shouldn't need clearenv() for macosx now we've got xclearenv.Rob Landley
2019-02-05The android NDK does not appear to have adjtime(). (It has the syscall, andRob Landley
2019-01-08FreeBSD doesn't #define IUTF8 in termios.h, add workaround to portability.h.Rob Landley
2019-01-08Ed Maste says freebsd hasn't got sys/xattr.h, so move it to portability.h.Rob Landley
2019-01-08Add FreeBSD endianness supportEd Maste
2018-12-07macOS: fix code using POSIX 2008 `st_[acm]tim` fields.Elliott Hughes
2018-12-07Forgot to check the portability.? changes. (Oops.)Rob Landley
2018-11-30macOS: work around header idiosyncracies.Elliott Hughes
2018-11-30macOS: fix endian macros for macOS.Elliott Hughes
2018-11-29Remove an extra #include <string.h>Rob Landley
2018-11-29macOS: remove glibc 2.10 workarounds.Elliott Hughes
2018-11-28macOS: there's no <features.h> on the Mac.Elliott Hughes
2018-11-28macOS: replace local strnstr with strcasestr.Elliott Hughes
2018-11-28macOS: noreturn.Elliott Hughes
2018-10-20The static NDK fix broke the dynamic NDK build.Rob Landley
2018-10-10Fix static Android NDK build.Rob Landley
2018-10-07Fix non-android ps build.Rob Landley
2018-10-07libcutils isn't in the NDK.Elliott Hughes
2018-10-04Make it possible to build the AOSP .config against glibc.Elliott Hughes
2018-09-15Fix glibc build after 013876f067a11ebfcf47789921b376e7bf3bf5b8.Elliott Hughes
2018-09-08Tweaks to make building with Android NDK's llvm happier.Rob Landley
2018-07-04Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random)Rob Landley
2018-01-01Cleanup logger.c, and move the facilitynames/prioritynames SYSLOG_NAMESRob Landley
2017-05-21Cleaup chrtRob Landley
2017-05-08Remove old uClibc compatibility glue. It's been 5 years since the last release.Rob Landley
2017-04-30Android NDK doesn't have cutils/sched_policy.h so add a probed config symbol.Rob Landley
2017-02-20Fix dmesg -c and -C.Elliott Hughes
2016-05-04Simplify ps android scheduling policy fetch slightly.Rob Landley
2016-04-30Add a ps "PCY" field for Android scheduling policy.Elliott Hughes
2016-04-08Redefining basename_r to mean something random seems popular (bionic and freebsdRob Landley
2016-03-01The last-ever release of uClibc didn't #define MS_RELATIME.Rob Landley
2016-02-18RLIMIT_RTTIME was added to the kernel in 2008, you can't expect uClibc to hav...Rob Landley
2016-02-09Add ulimit.Rob Landley
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
2015-08-30Add portability.h glue to let uptime build without TOYBOX_UTMPX.Rob Landley
2015-07-11Fix 32-bit bionic toybox build.Elliott Hughes
2015-05-18More ls -Z upgrading. Move TOYBOX_SELINUX and TOYBOX_SMACK support fromRob Landley
2015-05-08Move not-curses code into interstingtimes.cRob Landley