diff options
Diffstat (limited to 'notes.txt')
| -rw-r--r-- | notes.txt | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -34,6 +34,10 @@ on each system I infect, so I still need something else | |||
| 34 | mkstemp might be quite a useful function for doing the encrypting thing, but having a template name might be problematic. I may just | 34 | mkstemp might be quite a useful function for doing the encrypting thing, but having a template name might be problematic. I may just |
| 35 | have to rename everything before linking. Maybe linkat() would work | 35 | have to rename everything before linking. Maybe linkat() would work |
| 36 | 36 | ||
| 37 | libevent might be useful to slam everything together for async IO that I don't need to real with, but that also sounds like it would | ||
| 38 | be a lot of work that I might not need to do. I'm going to do threadpooling first and then make a branch that uses libevent to see | ||
| 39 | if there's any appreciable improvement in performance | ||
| 40 | |||
| 37 | ============== LIST OF POTENTIALLY USEFUL GNU C FUNCTIONS ============== | 41 | ============== LIST OF POTENTIALLY USEFUL GNU C FUNCTIONS ============== |
| 38 | scandir() - Gets a list of files in a directory: https://www.gnu.org/software/libc/manual/html_node/Scanning-Directory-Content.html | 42 | scandir() - Gets a list of files in a directory: https://www.gnu.org/software/libc/manual/html_node/Scanning-Directory-Content.html |
| 39 | link() - Hardlinks one file to another location: https://www.gnu.org/software/libc/manual/html_node/Hard-Links.html | 43 | link() - Hardlinks one file to another location: https://www.gnu.org/software/libc/manual/html_node/Hard-Links.html |
