summaryrefslogtreecommitdiffstats
path: root/share/examples/mdoc/example.4
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2012-06-13 19:00:29 +0000
committerpjd <pjd@FreeBSD.org>2012-06-13 19:00:29 +0000
commitb836448bf31196deb9b7c15c6666ffb60713ab38 (patch)
tree0647e44306015a226cddd62eb3bb5bb0e708097c /share/examples/mdoc/example.4
parent142d5d1bbd74110e93521e872e859c2a4780a669 (diff)
downloadFreeBSD-src-b836448bf31196deb9b7c15c6666ffb60713ab38.zip
FreeBSD-src-b836448bf31196deb9b7c15c6666ffb60713ab38.tar.gz
There is only one caller of the dupfdopen() function, so we can simplify
it a bit: - We can assert that only ENODEV and ENXIO errors are passed instead of handling other errors. - The caller always call finstall() for indx descriptor, so we can assume it is set. Actually the filedesc lock is dropped between finstall() and dupfdopen(), so there is a window there for another thread to close the indx descriptor, but it will be closed in next commit. Reviewed by: mjg MFC after: 1 month
Diffstat (limited to 'share/examples/mdoc/example.4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud