| 33 | } |
| 34 | |
| 35 | FdEntry* FdTable::get(i32_t fd) { |
| 36 | auto it = table_.find(fd); |
| 37 | if(it == table_.end()) return nullptr; |
| 38 | return &it->second; |
| 39 | } |
| 40 | |
| 41 | void FdTable::release(i32_t fd) { |
| 42 | auto it = table_.find(fd); |
no outgoing calls
no test coverage detected