1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #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
|