projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'unistr/u32-cmp2'.
[gnulib.git]
/
lib
/
unistr.h
diff --git
a/lib/unistr.h
b/lib/unistr.h
index
1cdf3a8
..
26a3e33
100644
(file)
--- a/
lib/unistr.h
+++ b/
lib/unistr.h
@@
-529,8
+529,8
@@
extern uint16_t *
extern uint32_t *
u32_strncpy (uint32_t *dest, const uint32_t *src, size_t n);
extern uint32_t *
u32_strncpy (uint32_t *dest, const uint32_t *src, size_t n);
-/* Copy no more than N units of SRC to DEST
, returning the address of
-
the last
unit written into DEST. */
+/* Copy no more than N units of SRC to DEST
. Return a pointer past the last
+
non-NUL
unit written into DEST. */
/* Similar to stpncpy(). */
extern uint8_t *
u8_stpncpy (uint8_t *dest, const uint8_t *src, size_t n);
/* Similar to stpncpy(). */
extern uint8_t *
u8_stpncpy (uint8_t *dest, const uint8_t *src, size_t n);