summaryrefslogtreecommitdiff
path: root/strfunc.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-21strfunc: Tabs to spaces conversionCyrill Gorcunov1-196/+196
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2012-02-25Add support for UTF-16BE and UTF-32BEH. Peter Anvin1-0/+156
Add support for bigendian UTF-16 and UTF-32, and (for symmetry) add explicitly littleendian operators. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2009-06-28Add copyright headers to the *.c/*.h files in the main directoryH. Peter Anvin1-0/+33
Add copyright headers to the *.c/*.h files in the main directory. For files where I'm sure enough that we have all the approvals, I have given them the 2-BSD license, the others have been given the "LGPL for now" license header. Most of them can probably be changed after auditing. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-06-14strfunc: fix UTF-8 mid-character limitH. Peter Anvin1-2/+2
2008-06-14strfunc: always null-terminate the output bufferH. Peter Anvin1-1/+4
Make sure that the buffer is always null-terminated, even though we do have to use the length, since the string can (and often will) have embedded nulls.
2008-06-14Implement __utf16__() and __utf32__() for the DB familyH. Peter Anvin1-0/+167
Implement __utf16__() and __utf32__() for the DB family of pseudo-instructions. Not yet implemented for evaluation context.