mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-07 13:31:40 +02:00
feat: add users and sessions discovery
- also add clangd multi-file intellisense
This commit is contained in:
9
src/util.c
Normal file
9
src/util.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <util.h>
|
||||
|
||||
void strcln(char **dest, const char *source) {
|
||||
*dest = malloc(strlen(source) + sizeof(char));
|
||||
strcpy(*dest, source);
|
||||
}
|
Reference in New Issue
Block a user