From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- sysdeps/unix/inet/Subdirs | 3 +++ sysdeps/unix/inet/accept.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/bind.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/connect.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/gethostid.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/gethostname.S | 24 ++++++++++++++++++++++++ sysdeps/unix/inet/getpeername.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/getsockname.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/getsockopt.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/listen.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/recv.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/recvfrom.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/recvmsg.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/send.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/sendmsg.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/sendto.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/sethostid.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/sethostname.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/setsockopt.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/shutdown.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/socket.S | 22 ++++++++++++++++++++++ sysdeps/unix/inet/socketpair.S | 22 ++++++++++++++++++++++ 22 files changed, 467 insertions(+) create mode 100644 sysdeps/unix/inet/Subdirs create mode 100644 sysdeps/unix/inet/accept.S create mode 100644 sysdeps/unix/inet/bind.S create mode 100644 sysdeps/unix/inet/connect.S create mode 100644 sysdeps/unix/inet/gethostid.S create mode 100644 sysdeps/unix/inet/gethostname.S create mode 100644 sysdeps/unix/inet/getpeername.S create mode 100644 sysdeps/unix/inet/getsockname.S create mode 100644 sysdeps/unix/inet/getsockopt.S create mode 100644 sysdeps/unix/inet/listen.S create mode 100644 sysdeps/unix/inet/recv.S create mode 100644 sysdeps/unix/inet/recvfrom.S create mode 100644 sysdeps/unix/inet/recvmsg.S create mode 100644 sysdeps/unix/inet/send.S create mode 100644 sysdeps/unix/inet/sendmsg.S create mode 100644 sysdeps/unix/inet/sendto.S create mode 100644 sysdeps/unix/inet/sethostid.S create mode 100644 sysdeps/unix/inet/sethostname.S create mode 100644 sysdeps/unix/inet/setsockopt.S create mode 100644 sysdeps/unix/inet/shutdown.S create mode 100644 sysdeps/unix/inet/socket.S create mode 100644 sysdeps/unix/inet/socketpair.S (limited to 'sysdeps/unix/inet') diff --git a/sysdeps/unix/inet/Subdirs b/sysdeps/unix/inet/Subdirs new file mode 100644 index 0000000000..4a40811754 --- /dev/null +++ b/sysdeps/unix/inet/Subdirs @@ -0,0 +1,3 @@ +inet +resolv +sunrpc diff --git a/sysdeps/unix/inet/accept.S b/sysdeps/unix/inet/accept.S new file mode 100644 index 0000000000..25d4d05f8c --- /dev/null +++ b/sysdeps/unix/inet/accept.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (accept, 3) + ret diff --git a/sysdeps/unix/inet/bind.S b/sysdeps/unix/inet/bind.S new file mode 100644 index 0000000000..fc8c818362 --- /dev/null +++ b/sysdeps/unix/inet/bind.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (bind, 3) + ret diff --git a/sysdeps/unix/inet/connect.S b/sysdeps/unix/inet/connect.S new file mode 100644 index 0000000000..714d743874 --- /dev/null +++ b/sysdeps/unix/inet/connect.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (connect, 3) + ret diff --git a/sysdeps/unix/inet/gethostid.S b/sysdeps/unix/inet/gethostid.S new file mode 100644 index 0000000000..e3296f45fa --- /dev/null +++ b/sysdeps/unix/inet/gethostid.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (gethostid, 0) + ret diff --git a/sysdeps/unix/inet/gethostname.S b/sysdeps/unix/inet/gethostname.S new file mode 100644 index 0000000000..d9a1e906e3 --- /dev/null +++ b/sysdeps/unix/inet/gethostname.S @@ -0,0 +1,24 @@ +/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL__ (gethostname, 2) + ret + +weak_alias (__gethostname, gethostname) diff --git a/sysdeps/unix/inet/getpeername.S b/sysdeps/unix/inet/getpeername.S new file mode 100644 index 0000000000..115c93b9f4 --- /dev/null +++ b/sysdeps/unix/inet/getpeername.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (getpeername, 3) + ret diff --git a/sysdeps/unix/inet/getsockname.S b/sysdeps/unix/inet/getsockname.S new file mode 100644 index 0000000000..94d5c9cb37 --- /dev/null +++ b/sysdeps/unix/inet/getsockname.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (getsockname, 3) + ret diff --git a/sysdeps/unix/inet/getsockopt.S b/sysdeps/unix/inet/getsockopt.S new file mode 100644 index 0000000000..d7b468173d --- /dev/null +++ b/sysdeps/unix/inet/getsockopt.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (getsockopt, 5) + ret diff --git a/sysdeps/unix/inet/listen.S b/sysdeps/unix/inet/listen.S new file mode 100644 index 0000000000..38d42ae612 --- /dev/null +++ b/sysdeps/unix/inet/listen.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (listen, 2) + ret diff --git a/sysdeps/unix/inet/recv.S b/sysdeps/unix/inet/recv.S new file mode 100644 index 0000000000..576863e874 --- /dev/null +++ b/sysdeps/unix/inet/recv.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (recv, 4) + ret diff --git a/sysdeps/unix/inet/recvfrom.S b/sysdeps/unix/inet/recvfrom.S new file mode 100644 index 0000000000..bd75e6dd34 --- /dev/null +++ b/sysdeps/unix/inet/recvfrom.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (recvfrom, 6) + ret diff --git a/sysdeps/unix/inet/recvmsg.S b/sysdeps/unix/inet/recvmsg.S new file mode 100644 index 0000000000..dd0a268eba --- /dev/null +++ b/sysdeps/unix/inet/recvmsg.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (recvmsg, 3) + ret diff --git a/sysdeps/unix/inet/send.S b/sysdeps/unix/inet/send.S new file mode 100644 index 0000000000..85ac36bc23 --- /dev/null +++ b/sysdeps/unix/inet/send.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (send, 4) + ret diff --git a/sysdeps/unix/inet/sendmsg.S b/sysdeps/unix/inet/sendmsg.S new file mode 100644 index 0000000000..1dadaf3a12 --- /dev/null +++ b/sysdeps/unix/inet/sendmsg.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (sendmsg, 3) + ret diff --git a/sysdeps/unix/inet/sendto.S b/sysdeps/unix/inet/sendto.S new file mode 100644 index 0000000000..18d6f6a079 --- /dev/null +++ b/sysdeps/unix/inet/sendto.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (sendto, 6) + ret diff --git a/sysdeps/unix/inet/sethostid.S b/sysdeps/unix/inet/sethostid.S new file mode 100644 index 0000000000..141db2039c --- /dev/null +++ b/sysdeps/unix/inet/sethostid.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (sethostid, 1) + ret diff --git a/sysdeps/unix/inet/sethostname.S b/sysdeps/unix/inet/sethostname.S new file mode 100644 index 0000000000..e7d9f93168 --- /dev/null +++ b/sysdeps/unix/inet/sethostname.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (sethostname, 2) + ret diff --git a/sysdeps/unix/inet/setsockopt.S b/sysdeps/unix/inet/setsockopt.S new file mode 100644 index 0000000000..a3948c2ce8 --- /dev/null +++ b/sysdeps/unix/inet/setsockopt.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (setsockopt, 5) + ret diff --git a/sysdeps/unix/inet/shutdown.S b/sysdeps/unix/inet/shutdown.S new file mode 100644 index 0000000000..7ce3e6cd75 --- /dev/null +++ b/sysdeps/unix/inet/shutdown.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (shutdown, 2) + ret diff --git a/sysdeps/unix/inet/socket.S b/sysdeps/unix/inet/socket.S new file mode 100644 index 0000000000..b0f01cf9fb --- /dev/null +++ b/sysdeps/unix/inet/socket.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (socket, 3) + ret diff --git a/sysdeps/unix/inet/socketpair.S b/sysdeps/unix/inet/socketpair.S new file mode 100644 index 0000000000..fb352cff89 --- /dev/null +++ b/sysdeps/unix/inet/socketpair.S @@ -0,0 +1,22 @@ +/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +This file is part of the GNU C Library. + +The GNU C Library is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public License as +published by the Free Software Foundation; either version 2 of the +License, or (at your option) any later version. + +The GNU C Library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with the GNU C Library; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ + +#include + +SYSCALL (socketpair, 4) + ret -- cgit v1.2.3