* Share a filedesc structure. */
| 2261 | * Share a filedesc structure. |
| 2262 | */ |
| 2263 | struct filedesc * |
| 2264 | fdshare(struct filedesc *fdp) |
| 2265 | { |
| 2266 | |
| 2267 | refcount_acquire(&fdp->fd_refcnt); |
| 2268 | return (fdp); |
| 2269 | } |
| 2270 | |
| 2271 | /* |
| 2272 | * Share a pwddesc structure. |
no test coverage detected