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

Update dyn-string.h and corrected spelling of NULL. #98

Closed
wants to merge 1 commit into from

Conversation

vickvey
Copy link

@vickvey vickvey commented Jan 10, 2024

Spelling of NUL was corrected to NULL.

Thanks for taking the time to contribute to GCC! Please be advised that if you are
viewing this on github.com, that the mirror there is unofficial and unmonitored.
The GCC community does not use github.com for their contributions. Instead, we use
a mailing list (gcc-patches@gcc.gnu.org) for code submissions, code reviews, and
bug reports. Please send patches there instead.

Spelling of NUL was corrected to NULL.
@jwakely
Copy link
Contributor

jwakely commented Feb 21, 2024

NUL is the ASCII character with value 0, NULL is a pointer with value 0. Strings with '\0' at the end are therefore NUL-terminated.

@vickvey vickvey closed this Feb 21, 2024
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