RTEMS Source Builder | rtems/config/tools: Patched newlib with posix issue8 updates (!154)
mazen Adel (@mez3n)
gitlab at rtems.org
Sat Jun 14 15:14:31 UTC 2025
mazen Adel commented on a discussion on rtems/patches/0001-libc-Add-Update-prototypes-For-posix-issue8-function.patch: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/154#note_124638
> ++int timespec_get(struct timespec *ts, int base);
> ++#endif
> + #ifndef _REENT_ONLY
> + char *asctime (const struct tm *_tblock);
> + char *ctime (const time_t *_time);
> +diff --git a/newlib/libc/sys/rtems/include/semaphore.h b/newlib/libc/sys/rtems/include/semaphore.h
> +index 939135fb3..3f622dd88 100644
> +--- a/newlib/libc/sys/rtems/include/semaphore.h
> ++++ b/newlib/libc/sys/rtems/include/semaphore.h
> +@@ -55,6 +55,13 @@ int sem_timedwait(sem_t * __restrict, const struct timespec * __restrict);
> + int sem_trywait(sem_t *);
> + int sem_unlink(const char *);
> + int sem_wait(sem_t *);
> ++
> ++#if __POSIX_VISIBLE >= 202405
> ++/* The posix Issue 8 standard adds sem_clockwait()*/
Done.
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/154#note_124638
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250614/2dd771b3/attachment-0001.htm>
More information about the bugs
mailing list