genode/repos/libports/include/libc-genode/sys/syscall.h
Christian Helmuth a6e0fdd505 libc: support syscall(SYS_thr_self,...)
This syscall returns the thread ID / light-weight PID of the calling
thread under FreeBSD.

Issue #2791
2018-05-30 13:36:07 +02:00

20 lines
502 B
C

/*
* \brief Minimal support for FreeBSD-specific syscalls
* \author Christian Helmuth
* \date 2018-05-16
*/
/*
* Copyright (C) 2018 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU Affero General Public License version 3.
*/
#ifndef _INCLUDE__LIBC_GENODE__SYS__SYSCALL_H_
#define _INCLUDE__LIBC_GENODE__SYS__SYSCALL_H_
#define SYS_thr_self 432 /* pid_t gettid() */
#endif /* _INCLUDE__LIBC_GENODE__SYS__SYSCALL_H_ */