Search Results

Search: Posts Made By: marvin
Forum: Programming 10-29-2005
6,622
Posted By marvin
and don't forget to test the return value of the...
and don't forget to test the return value of the malloc function.

void *my_malloc(unsigned int size)
{
void *p;

p = malloc(size);
if (p == 0)
{
fprintf(stderr, "Error with...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 11:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy