• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2set -- $( \
3	printf '#include <sys/syscall.h>' | \
4	${CC:-gcc} -E -dD - | \
5	awk '$2 ~ /^SYS_/ { sub(/SYS_/,"",$2); print $2; }'
6)
7printf 'P(%s)\n' "$@"
8