Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

numOpenFiles

numOpenFiles( 
) 
=> ( x_current x_maximum )

Description

Returns the number of files now open and the maximum number of files that a process can open. The numbers are returned as a two-element list.

Arguments

None

Value Returned

x_current

Number of files that are currently open.

x_maximum

Maximum number of files that a process can open. This is usually platform-dependent.

Examples

Result is system-dependent.

numOpenFiles()            => (6 64)

One more file is opened.

f = infile("/dev/null")   => port:"/dev/null"
numOpenFiles()   => (7 64)

Related Topics

close

infile

outfile


Return to top
 ⠀
X