kc3-lang/libbsd/include/bsd

Branch :


Log

Author Commit Date CI Message
thodg 369616fb 2025-02-14 17:41:28 missing uid_t and gid_t on win32
thodg 472df5b6 2025-02-14 00:36:48 fix build on msys2 clang64
thodg 53d4e1c5 2025-02-04 15:16:48 fix build on win10 msys2 clang64
abe3c8c3 2024-11-02 23:14:11 include: Switch from __unused to new LIBBSD_UNUSED Because we do not define __unused, as on GNU systems Linux and glibc providing conflicting symbols, declarations for imported functions that use that attribute cause build failures when used. Ref: https://bugs.debian.org/1083196 Fixes: #34
1d711a2c 2024-11-02 23:12:40 include: Refactor «unused» attribute into new LIBBSD_UNUSED macro This make it possible to declare function arguments in headers as potentially unused, so that they do not emit warnings. We will use this instead of the BSD __unused, which we cannot currently enable on GNU systems due to Linux and glibc having conflicting symbols.
32d18dcf 2024-02-09 04:32:12 Add explicit time32 and time64 support Handle the three potential system scenarios: - system time_t is time64 - system time_t is time32 and supports time64 - system time_t is time32 and does not support time64 Add the explicit time32 and time64 functions when necessary and map them accordingly for each of these cases.
605614d6 2024-02-12 03:00:06 build: Add support for AIX
ec7f5ee9 2024-02-12 01:04:37 Add vasprintf() and asprintf() functions missing on AIX These functions are used by code in the library, even though these functions started as GNU extensions, they are present in all BSDs, so we expose them as part of our interface on AIX.
304a1f83 2024-01-08 23:37:43 doc: Use macOS to refer to the operating system This is the correct spelling, instead of capitalizing it.
df116b55 2024-01-07 17:43:12 Adjust strlcpy() and strlcat() per glibc adoption These functions were added in glibc 2.38, in anticipation of POSIX adopting them too. Closes: #26