audk/StdLib/LibC/Stdio
darylm503 0c1992fbcc StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags.
Include/ctype.h:             Function declaration and Macro definition of isDirSep
Include/unistd.h:            Declarations added from EfiSysCall.h
Include/utime.h:             New file.  For the Posix utime() function.
Include/sys/_ctype.h:        Update character class bit maps.
Include/sys/EfiSysCall.h:    Move declarations to unistd.h
Include/sys/fcntl.h:         Improve comments.  Add UEFI-specific macros.
Include/sys/filio.h:         Remove declarations for unsupported file ioctls.
Include/sys/stat.h:          Fix flags.  Add macros and declarations.
Include/sys/time.h:          Add declarations for new functions Tm2Efi() and Time2Efi().
Include/sys/types.h:         Use EFI-specific instead of BSD-specific definitions for typedefs.
Include/sys/unistd.h:        Delete inappropriate content.  Guard macro definitions.

LibC/Locale/setlocale.c
LibC/Stdio/{fdopen.c, findfp.c, fopen.c, freopen.c, gettemp.c, makebuf.c, mktemp.c,
            remove.c, stdio.c, tempnam.c, tmpfile.c, tmpnam.c}
LibC/Time/{itimer.c, ZoneProc.c}
LibC/Uefi/SysCalls.c
LibC/Uefi/Devices/Console/daConsole.c
LibC/Uefi/Devices/UefiShell/daShell.c
PosixLib/Gen/readdir.c
                             Include unistd.h instead of EfiSysCall.h

LibC/Ctype/CClass.c:         Character classification function implementation for isDirSep.
LibC/Ctype/iCtype.c:         Update character classification and case conversion tables.
LibC/Time/TimeEfi.c:         Improve comments.  Implement new functions Tm2Efi() and Time2Efi().
LibC/Uefi/StubFunctions.c:   Add missing include.  Cosmetic changes to declarations.
LibC/Uefi/SysCalls.c:        Add support function for utime().
LibC/Uefi/Uefi.inf:          Add LibGen library class dependency.
LibC/Uefi/Xform.c:           Enhance Omode2EFI().
LibC/Uefi/Devices/UefiShell/daShell.c:    Enhance da_ShellMkdir.  Implement da_ShellIoctl to set file times.
PosixLib/Gen/access.c:       New file.  Implement the access() function.
PosixLib/Gen/dirname.c:      Enhance to use isDirSep and differentiate between the device, path, and filename components of UEFI Shell-style paths.
PosixLib/Gen/utime.c:        New file.  Implement the utime() function.
PosixLib/Gen/LibGen.inf:     Change MODULE_TYPE.  Add new files.

Signed-off-by: darylm503
Reviewed-by: geekboy15a
Reviewed-by: jljusten
Reviewed-by: Rahul Khana
Reviewed-by: leegrosenbaum


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12800 6f19259b-4bc3-4df7-8a09-765794883524
2011-11-30 00:52:45 +00:00
..
Stdio.inf StdLib: Add directory access functions to PosixLib. 2011-11-02 19:24:19 +00:00
clrerr.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fclose.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fdopen.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
feof.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
ferror.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fflush.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetln.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fgetpos.c Update or add comments to files and functions for use by Doxygen. 2011-08-15 19:05:36 +00:00
fgets.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetstr.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetwc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fgetws.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fileext.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fileno.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
findfp.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
flags.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
floatio.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
flockfile.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fopen.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
fparseln.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fprintf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fpurge.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputs.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputwc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fputws.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fread.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
freopen.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
fscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fseek.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fseeko.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
fsetpos.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
ftell.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
ftello.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
funopen.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fvwrite.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fvwrite.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwalk.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwide.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fwprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
fwrite.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
fwscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
getc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
getchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
gets.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
gettemp.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
getwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
getwchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
glue.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
local.h Add Socket Libraries. 2011-07-30 00:30:44 +00:00
makebuf.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
mkdtemp.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
mkstemp.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
mktemp.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
perror.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
printf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
putchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
puts.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
putwchar.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
refill.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
remove.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
rewind.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
rget.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
scanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
setbuf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
setbuffer.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
setvbuf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
snprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
snprintf_ss.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
sprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
sscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
stdio.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
swprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
swscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
tempnam.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
tmpfile.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
tmpnam.c StdLib: Add isDirSep character classification macro and function. Implement several Posix functions and clean up EfiSysCall.h. Align file mode handling with UEFI file protocol flags. 2011-11-30 00:52:45 +00:00
ungetc.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
ungetwc.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vasprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vfprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vfscanf.c StdLib: Make the vfscanf function public. 2011-11-03 00:19:10 +00:00
vfwprintf.c StdLib: Fix build errors caused by differences between the minGW 4.3 and GCC 4.4 compilers. 2011-09-01 21:56:45 +00:00
vfwscanf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vsnprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsnprintf_ss.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsprintf.c Add Socket Libraries. 2011-07-30 00:30:44 +00:00
vsscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vswprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vswscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vwprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
vwscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wbuf.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00
wcio.h Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wprintf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wscanf.c Standard Libraries for EDK II. 2011-04-27 21:42:16 +00:00
wsetup.c Add device abstraction code for the UEFI Console and UEFI Shell-based file systems. 2011-06-28 02:34:10 +00:00