>
> write(1, "Creating com port\n", 18Creating com port
> )ÂÂÂÂ = 18
> write(1, "Created port OK\n", 16Created port OK
> )ÂÂÂÂÂÂ = 16
> open("/dev/ttyS1", O_RDWR|O_NONBLOCK|O_NOCTTY) = 3
> fcntl64(3, F_SETFL, O_RDONLY)ÂÂÂÂÂÂÂÂÂÂ = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> nanosleep({1, 0}, {1, 0})ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> write(1, "COM2 port has been sucessfully o"..., 74COM2 port has been
> sucessfully
> Âopened. Descriptor is: 3Opened com port OK
> ) = 74
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo
> ...}
> ) = 0
> ioctl(3, TCFLSH, 0)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> ioctl(3, SNDCTL_TMR_START or TCSETS, {B115200 -opost -isig -icanon -echo
> ...}) =
> Â0
> write(3, "Testing", 7)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 7
> close(3)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> write(1, "Closed com port\n", 16Closed com port
> )ÂÂÂÂÂÂ = 16
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
try riddling a sleep at the end with some trash -- Hisen bugs are fun.
--
Morgan gangwere
"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|