* Function:
* 1. Replace the first oldstr with newstr in srcstr
* Arguments:
* IN :
* srcstr
* oldstr
* newstr
* OUT :
* srcstr
* Return:
* 1. If find and replace one oldstr with newstr in srcstr , return 1
* 2. If find no oldstr in srcstr , return 0
* 3. If error (malloc return NULL) return -1
* Notes:
* 1. srcstr should be large size enough.
标签:
Arguments
Function
Replace
oldstr
上传时间:
2014-12-20
上传用户:Yukiseop