https://github.com/RogueScholar/telegram-cli this one might work
I've tried this but coudln't make it work I get this error main.c: In function ‘termination_signal_handler’: main.c:824:7: error: ‘write’ reading 18 bytes from a region of size 17 [-Werror=stringop-overread] 824 | if (write (1, "SIGNAL received\n", 18) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from main.c:29: /usr/include/unistd.h:378:16: note: in a call to function ‘write’ declared with attribute ‘access (read_only, 2, 3)’ 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ cc1: all warnings being treated as errors make: *** [Makefile:48: objs/main.o] Error 1
anyways I get the exact same error on a dockerized ubuntu container so I guess I'm not the issue
Обсуждают сегодня