Search Results

Search: Posts Made By: ChaMeN
3,023
Posted By ChaMeN
search sprintf and replace with snprintf
Hi,

anyone knows the perl search-and-replace expression for

strcpy (char * destination, const char * source ); to
strncpy ( char * destination, const char * source, size_t num ); ?

the...
3,423
Posted By ChaMeN
Regular expression match
Hi all,

any idea how to match the following:

char*<no or any string or space> buf and
char *<no or any string or space> buf
i need to capture the buf characters too.

currently i need...
5,152
Posted By ChaMeN
Perl script to search sprintf and replace with snprintf
Dear all,

I am new to perl script and would need some help for my 1st script. I wrote a script to search sprintf(buf,"%s", sourcestring) and replace with snprintf(buf, sizeof(buf),"%s",...
Showing results 1 to 3 of 3

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