文件操作 - quirks.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/doc/libsodium-devel-1.0.18/quirks.h
编辑文件内容
#include <stdlib.h> /* C++Builder defines a "random" macro */ #undef random #ifdef __EMSCRIPTEN__ # define strcmp(s1, s2) xstrcmp(s1, s2) static int strcmp(const char *s1, const char *s2) { while (*s1 == *s2++) { if (*s1++ == 0) { return 0; } } return *(unsigned char *) s1 - *(unsigned char *) --s2; } #endif #ifdef _WIN32 static void srandom(unsigned seed) { srand(seed); } static long random(void) { return (long) rand(); } #endif
修改文件时间
将文件时间修改为当前时间的前一年
删除文件