audk/StdLib/LibC/Stdio
darylm503 9f4b48a15d StdLib: Fix issue with Canonical output expansion of NL to CR NL and similar expansions.
SysCalls.c: Add IGNSPEC to the "sane" termios settings so that, by default, function keys and other special keys are ignored.

fvwrite.c: 
  Line 109: Change test to less-than zero since zero is a valid value.
  Line 113: Change test to greater-than zero since we only want to loop when there are characters available.
  Line 114: Force uio_resid to zero since it might have become negative on line 113.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by:  daryl.mcdaniel@intel.com
Reviewed-by:    erik.c.bjorge@intel.com
Reviewed-by:    lee.g.rosenbaum@intel.com
Reviewed-by:    jaben.carsey@intel.com



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14013 6f19259b-4bc3-4df7-8a09-765794883524
2012-12-21 18:19:41 +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 StdLib: Add multi-byte character support. The normal "narrow" character set is now UTF-8 instead of ASCII. 2012-06-15 19:58:39 +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 StdLib: Fix issue with Canonical output expansion of NL to CR NL and similar expansions. 2012-12-21 18:19:41 +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 multi-byte character support. The normal "narrow" character set is now UTF-8 instead of ASCII. 2012-06-15 19:58:39 +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 StdLib, StdLibPrivateInternalFiles: Clean up comments, Remove debugging code, Define MAX_OUTPUT, the Maximum number of bytes in a single terminal output operation. 2012-09-20 21:01:21 +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