![]() ![]() I'll get far less message, even though they will still be many, and or file_descriptor "1". If I run my app with strace -e trace=write -e write=4. Mmap2(0x43add000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRI0 myapp, I would expect to get messages in the terminal, from file_descriptor "4" only. if i start my application as strace -e write=4. (after restarting my application a few times, I reassured myself that the file_descriptor number my application gets from kernel is "4" I print the file_descriptor of the serial device that I use. I looked around and found out I can use strace to do that. I am writing an application in linux and need to access the serial port.įor debugging purposes I need to snif what comes and/or goes through the serial port.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |