View | Details | Raw Unified | Return to bug 52612
Collapse All | Expand All

(-)/usr/src/lib/libc/sys/close.2 (-4 / +4 lines)
Lines 71-81 Link Here
71
file descriptor for that file is closed by that process.
71
file descriptor for that file is closed by that process.
72
.Pp
72
.Pp
73
When a process exits,
73
When a process exits,
74
all associated file descriptors are freed, but since there is
74
all associated file descriptors are freed, as though the process called
75
a limit on active descriptors per processes, the
76
.Fn close
75
.Fn close
77
system call
76
itself.
78
is useful when a large quantity of file descriptors are being handled.
79
.Pp
77
.Pp
80
When a process forks (see
78
When a process forks (see
81
.Xr fork 2 ) ,
79
.Xr fork 2 ) ,
Lines 115-120 Link Here
115
is not an active descriptor.
113
is not an active descriptor.
116
.It Bq Er EINTR
114
.It Bq Er EINTR
117
An interrupt was received.
115
An interrupt was received.
116
.It Bq Er ENOSPC
117
The underlying object did not fit, cached data was lost.
118
.El
118
.El
119
.Sh SEE ALSO
119
.Sh SEE ALSO
120
.Xr accept 2 ,
120
.Xr accept 2 ,

Return to bug 52612