param.h File

Purpose

Describes system parameters.

Description

Certain parameters vary for different hardware that uses the operating system. These parameters are defined in the /usr/include/sys/param.h file. The most significant parameters are:

Item Description
NCARGS Indicates the default number of characters, including terminating null characters, that can be passed using the exec subroutine.
UBSIZE The unit used by the statistics subroutines for returning block sizes of files.

This file also contains macros for manipulating machine-dependent fields.

Programs that are intended to comply with the POSIX standard should include the /usr/include/sys/limits.h file rather than the param.h file.