2011-04-27 23:42:16 +02:00
|
|
|
## @file
|
|
|
|
# Standard C library: Implementation for <stdio.h>.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
|
|
|
|
#
|
|
|
|
# This program and the accompanying materials
|
|
|
|
# are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
# which accompanies this distribution. The full text of the license may be found at
|
|
|
|
# http://opensource.org/licenses/bsd-license.php.
|
|
|
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = LibStdio
|
|
|
|
FILE_GUID = 7d2bd134-500d-4f42-aee2-26accfb6cb1d
|
|
|
|
MODULE_TYPE = UEFI_APPLICATION
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = LibStdio
|
|
|
|
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
clrerr.c #
|
|
|
|
fclose.c #
|
|
|
|
fdopen.c #
|
|
|
|
feof.c #
|
|
|
|
ferror.c #
|
|
|
|
fflush.c #
|
|
|
|
fgetc.c #
|
|
|
|
fgetln.c #
|
|
|
|
fgetpos.c #
|
|
|
|
fgets.c #
|
|
|
|
fopen.c #
|
|
|
|
fprintf.c #
|
|
|
|
fputc.c #
|
|
|
|
fputs.c #
|
|
|
|
fread.c #
|
|
|
|
freopen.c #
|
|
|
|
fscanf.c #
|
|
|
|
fseek.c #
|
|
|
|
fsetpos.c #
|
|
|
|
ftell.c #
|
|
|
|
fwrite.c #
|
|
|
|
getc.c #
|
|
|
|
getchar.c #
|
|
|
|
gets.c #
|
|
|
|
perror.c #
|
|
|
|
printf.c #
|
|
|
|
putc.c #
|
|
|
|
putchar.c #
|
|
|
|
puts.c #
|
|
|
|
remove.c #
|
|
|
|
rewind.c #
|
|
|
|
scanf.c #
|
|
|
|
setbuf.c #
|
|
|
|
setvbuf.c #
|
|
|
|
sprintf.c #
|
|
|
|
sscanf.c #
|
|
|
|
tmpfile.c #
|
|
|
|
tmpnam.c #
|
|
|
|
ungetc.c #
|
|
|
|
vfprintf.c #
|
|
|
|
vfwprintf.c #
|
|
|
|
vprintf.c #
|
|
|
|
vsprintf.c #
|
|
|
|
|
2011-06-28 04:34:10 +02:00
|
|
|
snprintf.c
|
|
|
|
vsnprintf.c
|
Add Socket Libraries.
Add Posix functions for porting compatibility.
Fix compliance issues with ISO/IEC 9899:199409
New Functions:
setenv(), fparseln(), GetFileNameFromPath(), rename(),
realpath(), setprogname(), getprogname(), strlcat(), strlcpy(),
strsep(), setitimer(), getitimer(), timegm(), getopt(), basename(),
mkstemp(), ffs(), vsnprintf(), snprintf(), getpass(), usleep(), select(),
writev(), strcasecmp(), getcwd(), chdir(), tcgetpgrp(), getpgrp(), gettimeofday(),
bcopy(),
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12061 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-30 02:30:44 +02:00
|
|
|
fparseln.c
|
2011-06-28 04:34:10 +02:00
|
|
|
|
2011-04-27 23:42:16 +02:00
|
|
|
# Wide character functions
|
|
|
|
fgetwc.c #
|
|
|
|
fgetws.c #
|
|
|
|
fputwc.c #
|
|
|
|
fputws.c #
|
|
|
|
fwide.c #
|
|
|
|
fwprintf.c #
|
|
|
|
fwscanf.c #
|
|
|
|
getwc.c #
|
|
|
|
getwchar.c #
|
|
|
|
putwc.c #
|
|
|
|
putwchar.c #
|
|
|
|
swprintf.c #
|
|
|
|
swscanf.c #
|
|
|
|
ungetwc.c #
|
|
|
|
vfwscanf.c #
|
|
|
|
vswprintf.c #
|
|
|
|
vswscanf.c #
|
|
|
|
vwprintf.c #
|
|
|
|
vwscanf.c #
|
|
|
|
wprintf.c #
|
|
|
|
wscanf.c #
|
|
|
|
|
|
|
|
|
|
|
|
# Files internal to the implementation
|
|
|
|
fgetstr.c #
|
|
|
|
findfp.c #
|
|
|
|
flags.c #
|
|
|
|
fseeko.c #
|
|
|
|
ftello.c #
|
|
|
|
fvwrite.c #
|
|
|
|
fwalk.c #
|
|
|
|
gettemp.c #
|
|
|
|
makebuf.c #
|
|
|
|
mkstemp.c #
|
|
|
|
mktemp.c #
|
|
|
|
refill.c #
|
|
|
|
rget.c #
|
|
|
|
snprintf.c #
|
|
|
|
stdio.c #
|
|
|
|
vfscanf.c #
|
|
|
|
wbuf.c #
|
|
|
|
wsetup.c #
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
StdLib/StdLib.dec
|
|
|
|
StdLibPrivateInternalFiles/DoNotUse.dec
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
ShellPkg/ShellPkg.dec
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
LibC
|
|
|
|
LibCType
|
|
|
|
LibGdtoa
|
|
|
|
LibLocale
|
|
|
|
LibStdLib
|
|
|
|
LibString
|
|
|
|
LibTime
|
|
|
|
LibUefi
|
|
|
|
LibWchar
|
|
|
|
|
|
|
|
################################################################
|
|
|
|
#
|
|
|
|
# The Build Options, below, are only used when building the C library.
|
|
|
|
# DO NOT use them when building your application!
|
|
|
|
# Nasty things could happen if you do.
|
|
|
|
#
|
|
|
|
[BuildOptions]
|
2011-08-31 02:02:56 +02:00
|
|
|
GCC:*_*_*_CC_FLAGS = -fno-builtin -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-format
|