aboutsummaryrefslogtreecommitdiff
path: root/i686/sys/syscall.h
blob: 9e62c89ea010ce9a3639da0680a73965a2e2aa78 (plain)
1
2
3
4
5
6
7
8
#pragma once

static inline int
syscall(int number)
{
  asm volatile("int $0x80");
  return 0;
}