Home
About
Resume
Projects
Links
Blog
Back to Contents
# Difference between r, r+, w, w+, a and a+ Read below table for the difference between open modes r, r+, w, w+, a and a+ in file-open function. *It is true in most languages, includes C, NodeJS, Python...* | | r | r+ | w | w+ | a | a+ | | --- | --- | --- | --- | --- | --- | --- | | read | * | * | | * | | * | | write | | * | * | * | * | * | | create | | | * | * | * | * | | truncate | | | * | * | | | | position at start | * | * | * | * | | | | position at end | | | | | * | * | #### Source https://man7.org/linux/man-pages/man3/fopen.3.html#DESCRIPTION https://nodejs.org/api/fs.html#file-system-flags https://docs.python.org/3/library/functions.html#open
Previous Post:
Linux Expand Root Partition
Next Post:
JavaScript Generator
Loading