Input Parameters | Significance |
char *ptr | start pointer to the present memory space |
int cnt | number the data packets |
int siz | size (in byte) of a data packet |
Output Parameters | Significance |
none | - |
Return Code | Significance |
value | pointer to the position after modifying via (cnt * siz) |
0 | no new memory space allocated |