- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for StrNCpy (0.07 sec)
-
src/runtime/cgo/gcc_util.c
So we choose strncpy(_, _, 0): it requires an extra header, but it's standard and should be very efficient. GCC 7 has an unfortunate habit of optimizing out strncpy calls (see https://golang.org/issue/21196), so the arguments here need to be global variables with external linkage in order to ensure that the call traps all the way down into libc. */ strncpy(&x_cgo_yield_strncpy_dst, &x_cgo_yield_strncpy_src,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 18:49:38 UTC 2017 - 1.8K bytes - Viewed (0)