Skip to content
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

clock_gettime should return CInt, not void #1923

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

radekm
Copy link
Contributor

@radekm radekm commented Feb 2, 2025

According to the documentation https://www.man7.org/linux/man-pages/man3/clock_gettime.3.html function
clock_gettime returns CInt. Here is the signature from the documentation:

int clock_gettime(clockid_t clockid, struct timespec *tp);

@lerno lerno merged commit 4a99ebe into c3lang:master Feb 2, 2025
47 checks passed
@lerno
Copy link
Collaborator

lerno commented Feb 2, 2025

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants