mailing list of musl libc
 help / color / mirror / code / Atom feed
* vhangup syscall
@ 2012-06-19 19:22 william
  2012-06-19 19:33 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: william @ 2012-06-19 19:22 UTC (permalink / raw)
  To: musl

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 <unistd.h>
+#include "syscall.h"
+
+int vhangup(void)
+{
+	return syscall(SYS_vhangup);
+}



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vhangup syscall
  2012-06-19 19:22 vhangup syscall william
@ 2012-06-19 19:33 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2012-06-19 19:33 UTC (permalink / raw)
  To: musl

On Tue, Jun 19, 2012 at 03:22:55PM -0400, william@haddonthethird.net wrote:
> Implement the vhangup syscall, which was listed in unistd.h but missing
> from the library.

Thanks. Committed.

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-19 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-19 19:22 vhangup syscall william
2012-06-19 19:33 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).