Redirecting stdio for sx (xmodem)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to work out how to call an application (sx) from my serial comms
app. Sx is an xmodem utility which uses stdio so you have to re-direct it to
the comms port. I can talk to my target device through ttyS0 but now I want
to call sx to take over sending a file to the target using xmodem. Do I have
to use system() or is there another way ? Do I somehow have to pass it my
active file descriptor for ttyS0?

Mark Currie


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux