Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHELP!!
This is my program: # include <stdio.h># include <sys/types.h># include <fcntl.h> int main() { int p_button=NULL; unsigned int x=0; p_button=open("/dev/ttyS0",O_RDWR); if(p_...
Altera_Forum
Honored Contributor
20 years agoYou can do a man on whatever function you have in question:
man read Try it on LINUX or try it on google. Results: # include <unistd.h> ssize_t read(int fd, void *buf, size_t count); And a whole pile more of information about the read function.