Thank you.
I finally solved it with my collegue which advice me to add command
stty -F /dev/ttyS3 sane -echo -icanon
to rc file. This command stop the echo of input characters.
And after open command in program i use:
void init_rs232(void)
{
struct termios options;
fd = open(S0_232, O_RDWR | O_NOCTTY | O_NDELAY );
if (fd > 0)
{ fcntl(fd, F_SETFL, O_NONBLOCK);
tcgetattr(fd, &options);
options.c_cflag |= (CLOCAL | CREAD | CS8 );
options.c_cc[VMIN] = 1;
options.c_cc[VTIME] = 0;
options.c_lflag = FLUSHO;
tcsetattr(fd, TCSANOW, &options);
printf("Init RS232 OK.\n");
}
}
and now it works well.
Jan Naceradsky