Errors with lines: 439 close(m_hCommHandle); // close device (port?) 676 uBytesWritten = write(m_hCommHandle, &value, 1); 947 m_vRecvBytes = read(m_hCommHandle, m_RecvBuffer, 1);
can't find close() write() and read() functions
Bugs: #3
Hello.
Try to include unistd.h at the head of the file.
Good luck!
On Sun, Jun 29, 2014 at 1:05 AM, JAZ skirhir@users.sf.net wrote:
[bugs:#3] http://sourceforge.net/p/linapple/bugs/3/ Couldn't compile SerialComms.cpp* Status: open Group: v1.0 (example) Created: Sat Jun 28, 2014 09:05 PM UTC by JAZ Last Updated: Sat Jun 28, 2014 09:05 PM UTC Owner: nobody Errors with lines: 439 close(m_hCommHandle); // close device (port?) 676 uBytesWritten = write(m_hCommHandle, &value, 1); 947 m_vRecvBytes = read(m_hCommHandle, m_RecvBuffer, 1); can't find close() write() and read() functions Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linapple/bugs/3/ To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Status: open Group: v1.0 (example) Created: Sat Jun 28, 2014 09:05 PM UTC by JAZ Last Updated: Sat Jun 28, 2014 09:05 PM UTC Owner: nobody
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/linapple/bugs/3/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
-- beotiger from Tzaritzyn
I threw in some c headers
included time.h and stdio.h
Then I changed usleep to nanosleep.
while(!g_bTimerToggle) { //usleep(1); // do nothing is something doing also? 0_0 --bb struct timespec tim, tim2; tim.tv_sec = 1; tim.tv_nsec = 500; nanosleep(&tim , &tim2); }
Log in to post a comment.
Hello.
Try to include unistd.h at the head of the file.
Good luck!
On Sun, Jun 29, 2014 at 1:05 AM, JAZ skirhir@users.sf.net wrote:
--
beotiger from Tzaritzyn
Related
Bugs: #3
I threw in some c headers
included time.h and stdio.h
Then I changed usleep to nanosleep.
while(!g_bTimerToggle)
{
//usleep(1); // do nothing is something doing also? 0_0 --bb
struct timespec tim, tim2;
tim.tv_sec = 1;
tim.tv_nsec = 500;
nanosleep(&tim , &tim2);
}