mbox

[0/1] Adding mempbrk() function to glibc

Message ID 20220613025739.23612-1-brandonfoongyankai@gmail.com
Headers

Message

develop--- via Libc-alpha June 13, 2022, 2:57 a.m. UTC
  From: Brandon Foong <brandonfoongyankai@gmail.com>

Hi,

This follows up on a previous thread regarding the addition of mempbrk (https://sourceware.org/pipermail/libc-alpha/2022-January/135013.html). I have added a simple implementation of mempbrk, as well as its corresponding tests. 

Brandon Foong (1):
  string: Add basic implementation of mempbrk

 include/string.h      |   1 +
 string/Makefile       |   2 +
 string/Versions       |   1 +
 string/mempbrk.c      |  56 ++++++++++
 string/string.h       |  15 +++
 string/test-mempbrk.c | 242 ++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 317 insertions(+)
 create mode 100644 string/mempbrk.c
 create mode 100644 string/test-mempbrk.c