facil.io

#./fio-stl/001 memalt.h

5 public symbols.

#Functions

#fio_memset

c
void *fio_memset(void *restrict dest, uint64_t data, size_t bytes)

A somewhat naive implementation of memset.

Probably slower than the one included with your compiler's C library.

Symbol type: function

#fio_memcpy

c
void *fio_memcpy(void *dest_, const void *src_, size_t bytes)

A somewhat naive implementation of memcpy.

Probably slower than the one included with your compiler's C library.

Symbol type: function

#fio_memchr

c
void *fio_memchr(const void *buffer, const char token, size_t len)

A token seeking function. This is a fallback for memchr, but memchr should be faster.

Symbol type: function

#fio_memcmp

c
int fio_memcmp(const void *a_, const void *b_, size_t len)

A comparison function. This is a fallback for memcmp, but memcmp should be faster.

Symbol type: function

#fio_strlen

c
size_t fio_strlen(const char *str)

An alternative to strlen - may raise Address Sanitation errors.

Symbol type: function