From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1199 Path: news.gmane.org!not-for-mail From: william@haddonthethird.net Newsgroups: gmane.linux.lib.musl.general Subject: vhangup syscall Date: Tue, 19 Jun 2012 15:22:55 -0400 Message-ID: <88ca424bda61e1149c28be73668e83a5.squirrel@mail.haddonthethird.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1340133789 13294 80.91.229.3 (19 Jun 2012 19:23:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 19:23:09 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1200-gllmg-musl=m.gmane.org@lists.openwall.com Tue Jun 19 21:23:08 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Sh415-0004ux-K7 for gllmg-musl@plane.gmane.org; Tue, 19 Jun 2012 21:23:07 +0200 Original-Received: (qmail 26105 invoked by uid 550); 19 Jun 2012 19:23:07 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 26097 invoked from network); 19 Jun 2012 19:23:07 -0000 User-Agent: SquirrelMail/1.4.22 X-Priority: 3 (Normal) Importance: Normal Xref: news.gmane.org gmane.linux.lib.musl.general:1199 Archived-At: Implement the vhangup syscall, which was listed in unistd.h but missing from the library. --- /dev/null +++ src/src/linux/vhangup.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int vhangup(void) +{ + return syscall(SYS_vhangup); +}