Jérôme Duval
90b92dab5c
added memrchr to string.h, guarded by __USE_GNU. Also guards strchrnul.
...
Original patch by Dario Casalinuovo.
BUG: Ticket #8265
2012-01-05 00:17:41 +01:00
Scott McCreary
0fae873352
Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
...
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:46:47 +00:00
Axel Dörfler
18f27bf19f
* Added POSIX function strndup(), closing ticket #3309 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-01-18 20:27:12 +00:00
Jérôme Duval
645fa87a21
added lsearch and lfind
...
remove unknown infnanf and strtcopy functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27423 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-09-11 22:27:55 +00:00
Jérôme Duval
765ae3a785
Applied patch from Mika Lindqvist: This patch implements both strlwr() and strupr() functions in libroot and includes strupr() in kernel build.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-07-02 19:30:46 +00:00
Ingo Weinhold
b932012815
Patch by Andreas Faerber:
...
Replaced single-line comments by multi-line comments for ANSI C
compliance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-05-10 21:30:34 +00:00
Ingo Weinhold
2754fa8772
bcopy() is supposed to be overlap-save.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24525 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-22 18:13:42 +00:00
Axel Dörfler
4d9b4412bd
Added memccpy() - not there in BeOS, but part of the POSIX specs.
...
Contributed by Alexander Deynichenko.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-31 12:18:55 +00:00
Jérôme Duval
42848b0907
added index and rindex to libroot.so
...
R5 ftp and telnet commands now run on Haiku
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14362 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-12 13:05:03 +00:00
Ingo Weinhold
5141596a69
Added ffs().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-07 22:02:50 +00:00
Axel Dörfler
283c934877
Cleaned up the header a bit, added macro for bcmp().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-03 14:45:47 +00:00
Axel Dörfler
f175a63eaa
Added prototype for strerror_r().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-05 23:52:25 +00:00
shatty
77c4490299
for compatibility with beos r5 and gcc configuration, uncomment strsignal
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-08-15 09:03:54 +00:00
Axel Dörfler
6eb83f74ed
Added prototype for the GNU strchrnul() call.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3155 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-05-03 16:06:48 +00:00
Axel Dörfler
350117ec51
Removed the "const" in the return value of strerror() to be POSIX compliant.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-11-01 02:58:34 +00:00
Axel Dörfler
8edc4bb4c8
Added a very preliminary time.h
...
Removed the bzero()/bcopy() prototypes, and replaced them with macros - we
should decide what to do with them.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-23 02:33:02 +00:00
Axel Dörfler
0c9ee87018
Added our string.h headers (the one in private/kernel will be removed now)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-17 14:51:59 +00:00