summaryrefslogtreecommitdiff
path: root/mysys/my_fopen.c
diff options
context:
space:
mode:
authorDaniel Black <daniel@linux.vnet.ibm.com>2018-03-02 10:09:55 +1100
committerSergey Vojtovich <svoj@mariadb.org>2018-03-07 17:25:08 +0400
commit2ef2863c30ee72e33a03086163c542a58342850f (patch)
treeec402a27b25f3b1ea8215d5aec29ca2ff28b2a9c /mysys/my_fopen.c
parent08fa3218777805cadb312d765ea5ec14eb4e29ab (diff)
downloadmariadb-git-2ef2863c30ee72e33a03086163c542a58342850f.tar.gz
my_fdopen: list all args in comment
Diffstat (limited to 'mysys/my_fopen.c')
-rw-r--r--mysys/my_fopen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/my_fopen.c b/mysys/my_fopen.c
index 9318e6ed76e..213eac82040 100644
--- a/mysys/my_fopen.c
+++ b/mysys/my_fopen.c
@@ -260,6 +260,8 @@ FILE *my_fdopen(File Filedes, const char *name, int Flags, myf MyFlags)
r+ == O_RDWR
w+ == O_RDWR|O_TRUNC|O_CREAT
a+ == O_RDWR|O_APPEND|O_CREAT
+ b == FILE_BINARY
+ e == O_CLOEXEC
*/
static void make_ftype(register char * to, register int flag)