// Stub out all the "sync" variants, for projects that regularly pause // waiting for nonessential data to hit physical media. (On a loaded system, // this can easily be a 30 second wait.) // cc -fpic -shared thwim.c -o thwim.so // LD_PRELOAD=/usr/local/lib/thwim.so vim int fsync(int fd) { return 0; } int fdatasync(int fd) { return 0; } void sync(void) { return; }

AltStyle によって変換されたページ (->オリジナル) /