strlcat / shred Goto Github PK
View Code? Open in Web Editor NEWshred -- gnu shred(1) tiny stable compatible alternative.
shred -- gnu shred(1) tiny stable compatible alternative.
shred -- gnu shred(1) tiny stable compatible alternative. shred is a secure file destroying tool. It will overwrite the condemned file with garbage and repeated patterns, and it will decide what to write randomly. This tool exists mainly in gnu coreutils, and nowhere else. Busybox also missed it (as of 1.20.1), and I did not wanted to install coreutils on my musl systems at the time of writing this one. While I do not use a musl based system anymore as of today, I still find this tool useful. It is easy to compile and put it to systems which do miss it (for example, Android phones). LICENSE: - Public domain code (incl. tfnoisegen library embedded in). -- ElectroRys, 29Mar2019.
$ make
cc -Wall -O3 -c -o shred.o shred.c
shred.c: In function ‘main’:
shred.c:92:33: error: ‘O_LARGEFILE’ undeclared (first use in this function)
92 | rsf = open(randsrc, O_RDONLY | O_LARGEFILE);
| ^~~~~~~~~~~
shred.c:92:33: note: each undeclared identifier is reported only once for each function it appears in
make: *** [: shred.o] Error 1
How do proceed?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.