* \brief Close Parallel Port * \param port */
| 212 | * \param port |
| 213 | */ |
| 214 | int par_close(hamlib_port_t *port) |
| 215 | { |
| 216 | rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__); |
| 217 | |
| 218 | #ifdef HAVE_LINUX_PPDEV_H |
| 219 | #elif defined(HAVE_DEV_PPBUS_PPI_H) |
| 220 | #elif defined(__WIN64__) || defined(__WIN32__) |
| 221 | _close(port->fd); |
| 222 | |
| 223 | return RIG_OK; |
| 224 | #endif |
| 225 | return close(port->fd); |
| 226 | } |
| 227 | |
| 228 | |
| 229 | /** |