aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-04-19 19:56:28 +1000
committerGravatar axel <axel@liljencrantz.se>2006-04-19 19:56:28 +1000
commitd0956f1e43dbad48216a22b6a387a39de509ea60 (patch)
tree4ef4e7a3a36a2cf4fdee885d7d6708b7dc143b3c /common.h
parent6996c7718e33b270c9ae952ad3e1cd4b5be80ddd (diff)
Use libc implementations of wcslcpy and wcslcat if they exist. Move internal implementations to fallback.c.
darcs-hash:20060419095628-ac50b-0e94e4205306bb99bb9dea72eec43b442520bf1b.gz
Diffstat (limited to 'common.h')
-rw-r--r--common.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/common.h b/common.h
index 57541ec0..dc8502e8 100644
--- a/common.h
+++ b/common.h
@@ -134,30 +134,6 @@ wchar_t *wcsdupcat( const wchar_t *a, const wchar_t *b );
*/
wchar_t *wcsdupcat2( const wchar_t *a, ... );
-
-/**
- Appends src to string dst of size siz (unlike wcsncat, siz is the
- full size of dst, not space left). At most siz-1 characters will be
- copied. Always NUL terminates (unless siz <= wcslen(dst)). Returns
- wcslen(src) + MIN(siz, wcslen(initial dst)). If retval >= siz,
- truncation occurred.
-
- This is the OpenBSD strlcat function, modified for wide characters,
- and renamed to reflect this change.
-
-*/
-size_t wcslcat( wchar_t *dst, const wchar_t *src, size_t siz );
-
-/**
- Copy src to string dst of size siz. At most siz-1 characters will
- be copied. Always NUL terminates (unless siz == 0). Returns
- wcslen(src); if retval >= siz, truncation occurred.
-
- This is the OpenBSD strlcpy function, modified for wide characters,
- and renamed to reflect this change.
-*/
-size_t wcslcpy( wchar_t *dst, const wchar_t *src, size_t siz );
-
/**
Test if the given string is a valid variable name
*/