diff options
author | Dmitriy Anisimkov <anisimko@adacore.com> | 2019-09-19 08:14:18 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-19 08:14:18 +0000 |
commit | fd0d7b4e3be10508119636f06807f23d5691088b (patch) | |
tree | 8df8eec1c680c1ed52929a63b3f2f0b32266ec62 /gcc/tree-vectorizer.h | |
parent | 4fe56329e05e3e77c424929fdb102f2df075f74a (diff) | |
download | gcc-fd0d7b4e3be10508119636f06807f23d5691088b.zip gcc-fd0d7b4e3be10508119636f06807f23d5691088b.tar.gz gcc-fd0d7b4e3be10508119636f06807f23d5691088b.tar.bz2 |
[Ada] New routine GNAT.Sockets.Create_Socket_Pair
New routine to create 2 connected sockets. This routine is analog of the
UNIX system call socketpair. On UNIX platforms it is implemented on the
base of socketpair. On other platforms it is implemented by conecting
network sockets over loopback interface.
2019-09-19 Dmitriy Anisimkov <anisimko@adacore.com>
gcc/ada/
* libgnat/g-socket.ads, libgnat/g-socket.adb
(Create_Socket_Pair): New routine.
* libgnat/g-socthi.ads (OS_Has_Socketpair): Boolean constant.
(C_Socketpair): New imported routine.
* libgnat/g-socthi__mingw.ads, libgnat/g-socthi__vxworks.ads
(Default_Socket_Pair_Family): New constant.
(C_Socketpair): New routine.
* libgnat/g-socthi__mingw.adb, libgnat/g-socthi__vxworks.adb
(C_Socketpair): Is separated in anouther file.
* libgnat/g-sthcso.adb (C_Socketpair): Non UNIX implementation.
* libgnat/g-stsifd__sockets.adb: Reuse C_Socketpair.
From-SVN: r275951
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions