XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
string.h File Reference
#include <string.h>
#include <stddef.h>
#include <stdbool.h>
#include <linux/string_choices.h>
Include dependency graph for string.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define strtomem_pad(dest, src, pad)
 

Functions

char * strreplace (char *str, char old, char new)
 
ssize_t strscpy_pad (char *dest, const char *src, size_t count)
 
int scnprintf (char *buf, size_t size, const char *fmt,...) __printf(3
 

Macro Definition Documentation

◆ strtomem_pad

#define strtomem_pad (   dest,
  src,
  pad 
)
Value:
do { \
(void)__must_be_array(dest); \
__dcl_strtomem_pad((dest), sizeof(dest), (src), (pad)); \
} while (0)
#define __must_be_array(a)
Definition compiler.h:226

Function Documentation

◆ scnprintf()

int scnprintf ( char *  buf,
size_t  size,
const char *  fmt,
  ... 
)

◆ strreplace()

char * strreplace ( char *  str,
char  old,
char  new 
)

◆ strscpy_pad()

ssize_t strscpy_pad ( char *  dest,
const char *  src,
size_t  count 
)