mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-06-29 13:14:48 -04:00
16 lines
No EOL
696 B
C
16 lines
No EOL
696 B
C
/* See LICENSE.dwm file for copyright and license details. */
|
|
#include <wayland-util.h>
|
|
|
|
void die(const char *fmt, ...);
|
|
void *ecalloc(size_t nmemb, size_t size);
|
|
int32_t fd_set_nonblock(int32_t fd);
|
|
/* Match string against regex pattern. Both pattern and string are multi-byte
|
|
* (mb) UTF-8 encoded. */
|
|
int32_t regex_match(const char *pattern_mb, const char *str_mb);
|
|
void wl_list_append(struct wl_list *list, struct wl_list *object);
|
|
uint32_t get_now_in_ms(void);
|
|
uint32_t timespec_to_ms(struct timespec *ts);
|
|
char *join_strings(char *arr[], const char *sep);
|
|
char *join_strings_with_suffix(char *arr[], const char *suffix,
|
|
const char *sep);
|
|
char *string_printf(const char *fmt, ...); |