strings.h
Go to the documentation of this file.
1 #ifndef NVIM_STRINGS_H
2 #define NVIM_STRINGS_H
3 
4 #include <stdbool.h>
5 #include <stdarg.h>
6 #include <string.h>
7 
8 #include "nvim/types.h"
9 #include "nvim/eval/typval.h"
10 
20 static inline char *strappend(char *const dst, const char *const src)
23 {
24  const size_t src_len = strlen(src);
25  return (char *)memmove(dst, src, src_len) + src_len;
26 }
27 
28 #ifdef INCLUDE_GENERATED_DECLARATIONS
29 # include "strings.h.generated.h"
30 #endif
31 #endif // NVIM_STRINGS_H
#define FUNC_ATTR_WARN_UNUSED_RESULT
Definition: func_attr.h:240
#define FUNC_ATTR_ALWAYS_INLINE
Definition: func_attr.h:241
* dst
Definition: env.c:608
void FUNC_ATTR_NONNULL_RET
Definition: memory.c:130
char_u * src
Definition: env.c:435
#define FUNC_ATTR_NONNULL_ALL
Definition: func_attr.h:243