KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to allocate memory using malloc and check that it succeeded. something like: if (!(new_list=(vlist)malloc(sizeof (var_list)))) return -1; how do I check success?
Tags (comma-separated)
Save Edits
Cancel