Files
2024-02-19 00:21:52 -05:00

21 lines
389 B
Bash
Executable File

#! /bin/sh
#
# psize.sh -- determine this system's pipe size, and write a define to
# pipesize.h so ulimit.c can use it.
echo "/*"
echo " * pipesize.h"
echo " *"
echo " * This file is automatically generated by psize.sh"
echo " * Do not edit!"
echo " */"
echo ""
./psize.aux 2>/tmp/pipesize | sleep 3
echo "#define PIPESIZE `cat /tmp/pipesize`"
rm -f /tmp/pipesize
exit 0