Add Socket Libraries.
authordarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Jul 2011 00:30:44 +0000 (00:30 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 Jul 2011 00:30:44 +0000 (00:30 +0000)
commitd7ce700605e1af0e455e31ec11f19ff21d26b525
tree243b582ac3350e8c6ce6ca96fff13805318fd65c
parentf766dd76fde231ecd4f2e9faf99293e90902cebb
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
199 files changed:
StdLib/BsdSocketLib/BsdSocketLib.inf [new file with mode: 0644]
StdLib/BsdSocketLib/SocketInternals.h [new file with mode: 0644]
StdLib/BsdSocketLib/Socklib_internals.h [new file with mode: 0644]
StdLib/BsdSocketLib/accept.c [new file with mode: 0644]
StdLib/BsdSocketLib/base64.c [new file with mode: 0644]
StdLib/BsdSocketLib/bind.c [new file with mode: 0644]
StdLib/BsdSocketLib/close.c [new file with mode: 0644]
StdLib/BsdSocketLib/connect.c [new file with mode: 0644]
StdLib/BsdSocketLib/errno.c [new file with mode: 0644]
StdLib/BsdSocketLib/gethostbydns.c [new file with mode: 0644]
StdLib/BsdSocketLib/gethostbyht.c [new file with mode: 0644]
StdLib/BsdSocketLib/gethostbynis.c [new file with mode: 0644]
StdLib/BsdSocketLib/gethostnamadr.c [new file with mode: 0644]
StdLib/BsdSocketLib/gethostname.c [new file with mode: 0644]
StdLib/BsdSocketLib/getnetbydns.c [new file with mode: 0644]
StdLib/BsdSocketLib/getnetbyht.c [new file with mode: 0644]
StdLib/BsdSocketLib/getnetbynis.c [new file with mode: 0644]
StdLib/BsdSocketLib/getnetnamadr.c [new file with mode: 0644]
StdLib/BsdSocketLib/getpeername.c [new file with mode: 0644]
StdLib/BsdSocketLib/getproto.c [new file with mode: 0644]
StdLib/BsdSocketLib/getprotoent.c [new file with mode: 0644]
StdLib/BsdSocketLib/getprotoname.c [new file with mode: 0644]
StdLib/BsdSocketLib/getservbyname.c [new file with mode: 0644]
StdLib/BsdSocketLib/getservbyport.c [new file with mode: 0644]
StdLib/BsdSocketLib/getservent.c [new file with mode: 0644]
StdLib/BsdSocketLib/getsockname.c [new file with mode: 0644]
StdLib/BsdSocketLib/getsockopt.c [new file with mode: 0644]
StdLib/BsdSocketLib/herror.c [new file with mode: 0644]
StdLib/BsdSocketLib/inet_net_ntop.c [new file with mode: 0644]
StdLib/BsdSocketLib/inet_net_pton.c [new file with mode: 0644]
StdLib/BsdSocketLib/inet_neta.c [new file with mode: 0644]
StdLib/BsdSocketLib/inet_pton.c [new file with mode: 0644]
StdLib/BsdSocketLib/listen.c [new file with mode: 0644]
StdLib/BsdSocketLib/map_v4v6.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_addr.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_name.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_netint.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_ntoa.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_parse.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_print.c [new file with mode: 0644]
StdLib/BsdSocketLib/ns_ttl.c [new file with mode: 0644]
StdLib/BsdSocketLib/nsap_addr.c [new file with mode: 0644]
StdLib/BsdSocketLib/poll.c [new file with mode: 0644]
StdLib/BsdSocketLib/read.c [new file with mode: 0644]
StdLib/BsdSocketLib/recv.c [new file with mode: 0644]
StdLib/BsdSocketLib/recvfrom.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_comp.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_config.h [new file with mode: 0644]
StdLib/BsdSocketLib/res_data.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_debug.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_init.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_mkquery.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_mkupdate.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_query.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_send.c [new file with mode: 0644]
StdLib/BsdSocketLib/res_update.c [new file with mode: 0644]
StdLib/BsdSocketLib/send.c [new file with mode: 0644]
StdLib/BsdSocketLib/sendto.c [new file with mode: 0644]
StdLib/BsdSocketLib/sethostname.c [new file with mode: 0644]
StdLib/BsdSocketLib/setsockopt.c [new file with mode: 0644]
StdLib/BsdSocketLib/shutdown.c [new file with mode: 0644]
StdLib/BsdSocketLib/socket.c [new file with mode: 0644]
StdLib/BsdSocketLib/write.c [new file with mode: 0644]
StdLib/Efi/etc/host.conf [new file with mode: 0644]
StdLib/Efi/etc/hosts [new file with mode: 0644]
StdLib/Efi/etc/networks [new file with mode: 0644]
StdLib/Efi/etc/protocols [new file with mode: 0644]
StdLib/Efi/etc/resolv.conf [new file with mode: 0644]
StdLib/Efi/etc/services [new file with mode: 0644]
StdLib/EfiSocketLib/EfiSocketLib.inf [new file with mode: 0644]
StdLib/EfiSocketLib/Init.c [new file with mode: 0644]
StdLib/EfiSocketLib/Service.c [new file with mode: 0644]
StdLib/EfiSocketLib/Socket.c [new file with mode: 0644]
StdLib/EfiSocketLib/Socket.h [new file with mode: 0644]
StdLib/EfiSocketLib/Tcp4.c [new file with mode: 0644]
StdLib/EfiSocketLib/Udp4.c [new file with mode: 0644]
StdLib/EfiSocketLib/UseEfiSocketLib.c [new file with mode: 0644]
StdLib/Include/Efi/EfiSocketLib.h [new file with mode: 0644]
StdLib/Include/Ia32/machine/limits.h
StdLib/Include/Protocol/EfiSocket.h [new file with mode: 0644]
StdLib/Include/X64/machine/limits.h
StdLib/Include/arpa/ftp.h [new file with mode: 0644]
StdLib/Include/arpa/nameser.h
StdLib/Include/arpa/telnet.h [new file with mode: 0644]
StdLib/Include/err.h [new file with mode: 0644]
StdLib/Include/errno.h
StdLib/Include/glob.h [new file with mode: 0644]
StdLib/Include/libgen.h [new file with mode: 0644]
StdLib/Include/net/if.h [new file with mode: 0644]
StdLib/Include/net/if_dl.h [new file with mode: 0644]
StdLib/Include/net/radix.h [new file with mode: 0644]
StdLib/Include/net/route.h [new file with mode: 0644]
StdLib/Include/netatalk/at.h [new file with mode: 0644]
StdLib/Include/netdb.h
StdLib/Include/netinet/in_systm.h [new file with mode: 0644]
StdLib/Include/netinet/ip.h [new file with mode: 0644]
StdLib/Include/netns/ns.h [new file with mode: 0644]
StdLib/Include/paths.h
StdLib/Include/pwd.h [new file with mode: 0644]
StdLib/Include/resolv.h [new file with mode: 0644]
StdLib/Include/signal.h
StdLib/Include/stdarg.h
StdLib/Include/stdio.h
StdLib/Include/stdlib.h
StdLib/Include/string.h
StdLib/Include/stringlist.h [new file with mode: 0644]
StdLib/Include/sys/EfiCdefs.h
StdLib/Include/sys/EfiSysCall.h
StdLib/Include/sys/_posix.h [new file with mode: 0644]
StdLib/Include/sys/cdefs_aout.h
StdLib/Include/sys/file.h [new file with mode: 0644]
StdLib/Include/sys/select.h
StdLib/Include/sys/signal.h
StdLib/Include/sys/sockio.h [new file with mode: 0644]
StdLib/Include/sys/stat.h
StdLib/Include/sys/sysctl.h [new file with mode: 0644]
StdLib/Include/sys/syslimits.h
StdLib/Include/sys/time.h
StdLib/Include/sys/unistd.h
StdLib/Include/sys/wait.h [new file with mode: 0644]
StdLib/Include/sysexits.h [new file with mode: 0644]
StdLib/Include/time.h
StdLib/Include/unistd.h
StdLib/Include/x86/limits.h
StdLib/LibC/Locale/Locale.inf
StdLib/LibC/Locale/_wcstoul.h
StdLib/LibC/Locale/multibyte_sb.c
StdLib/LibC/Main/Main.c
StdLib/LibC/Main/assert.c
StdLib/LibC/Main/x86flt_rounds.c
StdLib/LibC/NetUtil/NetUtil.inf
StdLib/LibC/StdLib/Environs.c
StdLib/LibC/StdLib/NumericInt.c
StdLib/LibC/StdLib/StdLib.inf
StdLib/LibC/StdLib/realpath.c [new file with mode: 0644]
StdLib/LibC/StdLib/setprogname.c [new file with mode: 0644]
StdLib/LibC/StdLib/strtoumax.c
StdLib/LibC/Stdio/Stdio.inf
StdLib/LibC/Stdio/freopen.c
StdLib/LibC/Stdio/fseeko.c
StdLib/LibC/Stdio/gettemp.c
StdLib/LibC/Stdio/local.h
StdLib/LibC/Stdio/mkstemp.c
StdLib/LibC/Stdio/setbuffer.c
StdLib/LibC/Stdio/vfwprintf.c
StdLib/LibC/Stdio/vfwscanf.c
StdLib/LibC/Stdio/vprintf.c
StdLib/LibC/Stdio/vsnprintf.c
StdLib/LibC/Stdio/vsnprintf_ss.c
StdLib/LibC/Stdio/vsprintf.c
StdLib/LibC/String/Comparison.c
StdLib/LibC/String/String.inf
StdLib/LibC/String/strlcat.c [new file with mode: 0644]
StdLib/LibC/String/strlcpy.c [new file with mode: 0644]
StdLib/LibC/String/strncasecmp.c
StdLib/LibC/String/strsep.c [new file with mode: 0644]
StdLib/LibC/Time/Time.c
StdLib/LibC/Time/Time.inf
StdLib/LibC/Time/TimeEfi.c
StdLib/LibC/Time/TimeVals.h
StdLib/LibC/Time/ZoneProc.c
StdLib/LibC/Time/gettimeofday.c
StdLib/LibC/Time/itimer.c [new file with mode: 0644]
StdLib/LibC/Time/strftime.c
StdLib/LibC/Time/timegm.c [new file with mode: 0644]
StdLib/LibC/Uefi/Devices/Console/daConsole.c
StdLib/LibC/Uefi/Devices/UefiShell/daShell.c
StdLib/LibC/Uefi/Devices/Utility/DevGenisis.c
StdLib/LibC/Uefi/Devices/Utility/Path.c
StdLib/LibC/Uefi/Devices/daConsole.inf
StdLib/LibC/Uefi/Devices/daShell.inf
StdLib/LibC/Uefi/Devices/daUtility.inf
StdLib/LibC/Uefi/GetPass.c [new file with mode: 0644]
StdLib/LibC/Uefi/StubFunctions.c [new file with mode: 0644]
StdLib/LibC/Uefi/SysCalls.c
StdLib/LibC/Uefi/Uefi.inf
StdLib/LibC/Uefi/compat.c [new file with mode: 0644]
StdLib/LibC/Uefi/select.c [new file with mode: 0644]
StdLib/LibC/Uefi/writev.c [new file with mode: 0644]
StdLib/PosixLib/Err/LibErr.inf [new file with mode: 0644]
StdLib/PosixLib/Err/warn_err.c [new file with mode: 0644]
StdLib/PosixLib/Gen/LibGen.inf [new file with mode: 0644]
StdLib/PosixLib/Gen/dirname.c [new file with mode: 0644]
StdLib/PosixLib/Glob/DirFunctions.c [new file with mode: 0644]
StdLib/PosixLib/Glob/LibGlob.inf [new file with mode: 0644]
StdLib/PosixLib/Glob/glob.c [new file with mode: 0644]
StdLib/PosixLib/Glob/internal.h [new file with mode: 0644]
StdLib/PosixLib/Stringlist/LibStringlist.inf [new file with mode: 0644]
StdLib/PosixLib/Stringlist/stringlist.c [new file with mode: 0644]
StdLib/SocketDxe/ComponentName.c [new file with mode: 0644]
StdLib/SocketDxe/DriverBinding.c [new file with mode: 0644]
StdLib/SocketDxe/EntryUnload.c [new file with mode: 0644]
StdLib/SocketDxe/Socket.h [new file with mode: 0644]
StdLib/SocketDxe/SocketDxe.inf [new file with mode: 0644]
StdLib/StdLib.dec
StdLib/StdLib.dsc
StdLib/StdLib.inc [new file with mode: 0644]
StdLib/UseSocketDxe/UseSocketDxe.c [new file with mode: 0644]
StdLib/UseSocketDxe/UseSocketDxe.inf [new file with mode: 0644]