Hello All,

I  want to use the file descriptor opened by  application_1 in another
application_2, i.e

./application_1 :
main()
{
    fd_1 = open( file );
    return fd_1;
}

./application_2  fd_1
main()
{
    ret = read( fd_1 );
    return fd;
}

My concern is once application_1 main returns all open fds will be closed
right ?

Thanks in advance .

Thanks,
A.R

Reply via email to