12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #ifndef CLOSEPORT_SOURCE
- #define CLOSEPORT_SOURCE
- #include <unistd.h>
- #include <stdlib.h>
- #include "../tools/types.h"
- #include "../serial/serial.h"
- void closeport (struct _file_ * port)
- {
- close (port->file);
- return;
- }
- #endif
|