New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose nanosleep() and clock_gettime() in time.h header #5

Closed
wants to merge 1 commit into
base: redox
from

Conversation

Projects
None yet
2 participants
@ids1024
Member

ids1024 commented May 8, 2017

Defining _POSIX_TIMERS would also work, but not all of those functions
are implemented.

Expose nanosleep() and clock_gettime() in time.h header
Defining _POSIX_TIMERS would also work, but not all of those functions
are implemented.
@jackpot51

This comment has been minimized.

Member

jackpot51 commented May 8, 2017

This is typically done by making a time.h in the Redox sys directory that overrides this one. Is that possible?

@ids1024 ids1024 closed this May 8, 2017

@ids1024

This comment has been minimized.

Member

ids1024 commented May 8, 2017

Ah, of course. Is there good documentation anywhere for the details of porting newlib? Everything I can find is fairly general.

@jackpot51

This comment has been minimized.

Member

jackpot51 commented May 8, 2017

I have not found good documentation outside of the other sys directories.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment