git: libc - Add c11 and glibc features to fopen()

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 25 13:13:14 PST 2016


commit bf662a3e86f3f2fc420ffa99385ca8a9d412938a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 25 13:11:40 2016 -0800

    libc - Add c11 and glibc features to fopen()
    
    * Add 'x' flag to fopen() (from c11, O_EXCL)
    * Add 'e' flag to fopen() (from glibc, O_CLOEXEC)
    
    Submitted-by: Xenu (w/modifications by Matt)

Summary of changes:
 lib/libc/stdio/flags.c | 66 ++++++++++++++++++++++++++++++++++++++++----------
 lib/libc/stdio/fopen.3 | 50 ++++++++++++++++++++------------------
 2 files changed, 79 insertions(+), 37 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bf662a3e86f3f2fc420ffa99385ca8a9d412938a


-- 
DragonFly BSD source repository


More information about the Commits mailing list