chiark / gitweb /
srv with postsort seems to work
[adns.git] / regress / hsyscalls.i4
index d5a57b75e2ebd7085240cce3cb26531c35aa27ee..cf9f95831aa3df15448b1f741bdb0407f26f4de9 100644 (file)
@@ -88,6 +88,18 @@ hm_syscall(
        hm_arg_addr_in(addr,addrlen) hm_na
 ')
 
+hm_syscall(
+       bind, `hm_rv_succfail', `
+       hm_arg_fd(fd) hm_na
+       hm_arg_addr_in(addr,addrlen) hm_na
+')
+
+hm_syscall(
+       listen, `hm_rv_succfail', `
+       hm_arg_fd(fd) hm_na
+       hm_arg_int(backlog) hm_na
+')
+
 hm_syscall(
        close, `hm_rv_succfail', `
        hm_arg_fd(fd) hm_na
@@ -123,6 +135,7 @@ hm_syscall(
 
 hm_specsyscall(int, writev, `int fd, const struct iovec *vector, size_t count')
 hm_specsyscall(int, gettimeofday, `struct timeval *tv, struct timezone *tz')
+hm_specsyscall(pid_t, getpid, `void')
 
 hm_specsyscall(void*, malloc, `size_t sz')
 hm_specsyscall(void, free, `void *ptr')