Hello pratham123,
Maybe something like this can help you:
char *ReplaceString(char** pszSource,...
if(*pszSource == NULL || ...
pszResult = realloc(*pszSource,...
DO NOT FORGET, as said Salem, to allocate pszSource dynamically ... and to eventually free it later!
By,
FlorianB
Hello logic4fun,
Have a look to sigaction(2) manual page of your system.
The SA_RESTART flag is maybe by default on ... in this case,
the system calls are re-started after an interrupt.
Hope this help!
By,
FlorianB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.