#!/bin/sh
# -----------------------------------------------------------------------
#
# The script generates FreeBSD syscall table for FASM assembler.
# Symbolic constants are generate in form of <syscall_name> equ <syscall_nr> <additional info>
# Examples:
# lseek equ 19 ;; COMPAT
# write equ 4 ;; STD
#
# -----------------------------------------------------------------------
| | | |
# Fixing (commenting out) ranges like: null equ 245-246
|