Skip to content

Changed definition of the possibile return value "NULL"#18

Open
TheAngusMcFire wants to merge 1 commit intomkerrisk:masterfrom
TheAngusMcFire:master
Open

Changed definition of the possibile return value "NULL"#18
TheAngusMcFire wants to merge 1 commit intomkerrisk:masterfrom
TheAngusMcFire:master

Conversation

@TheAngusMcFire
Copy link

Hi, I teach (student assistant) Systems Level Programming on the Technical Univerity of Graz.
I noticed students get confused by the difference 0 and NULL. To make sure NULL is not confused with an actual type value, which can be returned by malloc/calloc... I would change the "returns NULL" to "a value equal to NULL".

@mkerrisk
Copy link
Owner

mkerrisk commented Apr 25, 2020 via email

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