From: Samuel Thibault Date: Wed, 8 Jun 2016 23:43:49 +0000 (+0200) Subject: mach: Add mach_print sycsall declaration X-Git-Tag: glibc-2.24~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cda82594a61836de25885f5d09afb3e5929a0a1;p=thirdparty%2Fglibc.git mach: Add mach_print sycsall declaration * mach/mach/mach_traps.h (mach_print): Add syscall declaration. --- diff --git a/ChangeLog b/ChangeLog index 12ac302df6f..c07772eebe2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-06-09 Samuel Thibault [BZ #20229] diff --git a/mach/mach/mach_traps.h b/mach/mach/mach_traps.h index 10dd3703f22..614a887727a 100644 --- a/mach/mach/mach_traps.h +++ b/mach/mach/mach_traps.h @@ -75,5 +75,10 @@ kern_return_t __thread_switch (mach_port_t new_thread, kern_return_t evc_wait (unsigned int event); kern_return_t __evc_wait (unsigned int event); +/* Display a null-terminated character string on the Mach console. This + system call is meant as a debugging tool useful to circumvent messaging + altogether. */ + +extern void mach_print(const char *s); #endif /* mach/mach_traps.h */