Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <param.h>

MAXCOMLEN

Interface status: externallyDefinedApi

MAXCOMLEN 19

Description

max command name remembered

[Top]


MAXINTERP

Interface status: externallyDefinedApi

MAXINTERP 32

Description

max interpreter file name length

[Top]


MAXLOGNAME

Interface status: externallyDefinedApi

MAXLOGNAME 17

Description

max login name length (incl. NUL)

[Top]


MAXUPRC

Interface status: externallyDefinedApi

MAXUPRC CHILD_MAX

Description

max simultaneous processes

[Top]


NCARGS

Interface status: externallyDefinedApi

NCARGS ARG_MAX

Description

max bytes for an exec function

[Top]


NGROUPS

Interface status: externallyDefinedApi

NGROUPS NGROUPS_MAX

Description

max number groups

[Top]


NOFILE

Interface status: externallyDefinedApi

NOFILE OPEN_MAX

Description

max open files per process

[Top]


NOGROUP

Interface status: externallyDefinedApi

NOGROUP 65535

Description

marker for empty group set member

[Top]


MAXHOSTNAMELEN

Interface status: externallyDefinedApi

MAXHOSTNAMELEN 256

Description

max hostname size

[Top]


SPECNAMELEN

Interface status: externallyDefinedApi

SPECNAMELEN 63

Description

max length of devicename

[Top]


DEV_BSHIFT

Interface status: externallyDefinedApi

DEV_BSHIFT 9

Description

log2(DEV_BSIZE)

[Top]


DEV_BSIZE

Interface status: externallyDefinedApi

DEV_BSIZE (1<<DEV_BSHIFT)

Description

(1<<DEV_BSHIFT)

[Top]


BLKDEV_IOSIZE

Interface status: externallyDefinedApi

BLKDEV_IOSIZE PAGE_SIZE

Description

default block device I/O size

[Top]


DFLTPHYS

Interface status: externallyDefinedApi

DFLTPHYS (64 * 1024)

Description

default max raw IO transfer size

[Top]


MAXPHYS

Interface status: externallyDefinedApi

MAXPHYS (128 * 1024)

Description

max raw IO transfer size

[Top]


MAXDUMPPGS

Interface status: externallyDefinedApi

MAXDUMPPGS (DFLTPHYS/PAGE_SIZE)

Description

(DFLTPHYS by PAGE_SIZE)

[Top]


MSIZE

Interface status: externallyDefinedApi

MSIZE 256

Description

size of an mbuf

[Top]


ctob

Interface status: externallyDefinedApi

ctob (x) ((x)<<PAGE_SHIFT)

Description

clicks to bytes

Parameters

x

[Top]


btoc

Interface status: externallyDefinedApi

btoc (x) (((vm_offset_t)(x)+PAGE_MASK)>>PAGE_SHIFT)

Description

bytes to clicks

Parameters

x

[Top]


btodb

Interface status: externallyDefinedApi

btodb (bytes) (sizeof (bytes) > sizeof(long) \
     ? (daddr_t)((unsigned long long)(bytes) >> DEV_BSHIFT) \
     : (daddr_t)((unsigned long)(bytes) >> DEV_BSHIFT))

Description

calculates (bytes by DEV_BSIZE)

Parameters

bytes

[Top]


dbtob

Interface status: externallyDefinedApi

dbtob (db) ((off_t)(db) << DEV_BSHIFT)

Description

calculates (db)(DEV_BSIZE)

Parameters

db

[Top]


PRIMASK

Interface status: externallyDefinedApi

PRIMASK 0x0ff

Description

Primary mask

[Top]


PCATCH

Interface status: externallyDefinedApi

PCATCH 0x100

Description

ORd with pri for tsleep to check signals

[Top]


PDROP

Interface status: externallyDefinedApi

PDROP 0x200

Description

ORd with pri to stop re-entry of interlock mutex

[Top]


NZERO

Interface status: externallyDefinedApi

NZERO 0

Description

default "nice"

[Top]


NBBY

Interface status: externallyDefinedApi

NBBY 8

Description

number of bits in a byte

[Top]


NBPW

Interface status: externallyDefinedApi

NBPW sizeof(int)

Description

number of bytes per word (integer)

[Top]


CMASK

Interface status: externallyDefinedApi

CMASK 022

Description

default file mask: S_IWGRP OR S_IWOTH

[Top]


NODEV

Interface status: externallyDefinedApi

NODEV (dev_t)(-1)

Description

non-existent device

[Top]


CBLOCK

Interface status: externallyDefinedApi

CBLOCK 128

Description

Clist block size, must be a power of 2.

[Top]


CBQSIZE

Interface status: externallyDefinedApi

CBQSIZE (CBLOCK/NBBY)

Description

Quote bytes or cblock

[Top]


CBSIZE

Interface status: externallyDefinedApi

CBSIZE (CBLOCK - sizeof(struct cblock *) - CBQSIZE)

Description

Data chars or clist

[Top]


CROUND

Interface status: externallyDefinedApi

CROUND (CBLOCK - 1)

Description

Clist rounding.

[Top]


MAXBSIZE

Interface status: externallyDefinedApi

MAXBSIZE 65536

Description

Filesystems are made out of blocks of at most MAXBSIZE bytes per block. MAXBSIZE may be made larger without effecting any existing filesystems as long as it does not exceed MAXPHYS, and may be made smaller at the risk of not being able to use filesystems which require a block size exceeding MAXBSIZE.

[Top]


BKVASIZE

Interface status: externallyDefinedApi

BKVASIZE 16384

Description

Nominal buffer space per buffer, in bytes. BKVASIZE is the minimum KVM memory reservation the kernel is willing to make. Filesystems can of course request smaller chunks. Actual backing memory uses a chunk size of a page (PAGE_SIZE).

[Top]


BKVAMASK

Interface status: externallyDefinedApi

BKVAMASK (BKVASIZE-1)

Description

File system parameter and macros

[Top]


MAXSYMLINKS

Interface status: externallyDefinedApi

MAXSYMLINKS 32

Description

Maximum number of symbolic links that may be expanded in a path name. It should be set high enough to allow all legitimate uses, but halt infinite loops reasonably quickly.

[Top]


howmany

Interface status: externallyDefinedApi

howmany (x, y) (((x)+((y)-1))/(y))

Description

Macros for counting and rounding.

Parameters

x

y

[Top]


rounddown

rounddown (x, y) (((x)/(y))*(y))

Description

Macros for counting and rounding.

Parameters

x

y

[Top]


roundup

roundup (x, y) ((((x)+((y)-1))/(y))*(y))

Description

Macros for counting and rounding.

Parameters

x

y

[Top]


roundup2

roundup2 (x, y) (((x)+((y)-1))&(~((y)-1)))

Description

Macros for counting and rounding.

Parameters

x

y

[Top]


powerof2

Interface status: externallyDefinedApi

powerof2 (x) ((((x)-1)&(x))==0)

Description

Macros for counting and rounding.

Parameters

x

[Top]


MAX

Interface status: externallyDefinedApi

MAX (a, b) (((a)>(b))?(a):(b))

Description

Macros for min or max.

Parameters

a

b

[Top]


MINBUCKET

Interface status: externallyDefinedApi

MINBUCKET 4

Description

min allocation of 32 bytes or 16 bytes

[Top]


MAXALLOCSAVE

Interface status: externallyDefinedApi

MAXALLOCSAVE (2 * PAGE_SIZE)

Description

(2)(PAGE_SIZE)

[Top]


FSHIFT

Interface status: externallyDefinedApi

FSHIFT 11

Description

bits to right of fixed binary point

[Top]


FSCALE

Interface status: externallyDefinedApi

FSCALE (1<<FSHIFT)

Description

bits to right 1 shift