Missing MS CRT functionality in stddef.h
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reading the libc extensions under lib/xboxrt/libc_extensions and the project’s stddef.h setup; the issue identifies stddef_ext_.h and shows declarations for _strtoi64 and _strtoui64. Check how additional MS CRT functionality is exposed and which functions are in scope. Done means the requested compatibility declarations and any necessary support are defined, with the issue’s broader functionality clarified.
Written by the indexing model from the issue text.
Description
Here's a hack I've been using locally:
#FIXME: Need intptr_t in stddef.h
echo "#pragma once // Generated" > $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "#include <stdint.h>" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "long long int _strtoi64(const char * nptr, char * * endptr, int base );" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
echo "unsigned long long int _strtoui64( const char * s, char ** endptr, int base );" >> $NXDK_DIR/lib/xboxrt/libc_extensions/stddef_ext_.h
There's more functionality in this, but this is enough for my current projects
- Dominant language
- C
- Stars
- 600
- Forks
- 97
- Avg merge
- 11h 48m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XboxDev/nxdk
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Use faster memcpyOpen
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Broken links in reference manualPossibly taken @farisbasha claimed this 14 days ago. Opencore:meson
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mpv-player/mpv#18934 · 3 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
libsndfile/libsndfile#1239 ·