Hi all,
I want to know the device filename of STDIN in AIX.
On other platforms(Linux and solaris), the device file for stdin is available at /dev/ directory as "/dev/stdin".
But i didn't find any filename for STDIN at /dev/ directory in AIX.
Please let me know the name and location of device file of STDIN in AIX.
i am trying to open a file pointer for stdin using fopen() and setting code character set as UTF16. Ofcourse STDIN itself is a File Pointer but my intention was to set UTF16 as code charset for stdin and fopen() is the only one will achieve that.
I have following code
fp=fopen("/dev/stdin","r,ccs=UTF-16LE");
Here device file for stdin is /dev/stdin and is available on all platforms except on HPUX and AIX.
For fopen(), file name is must i.e. /dev/stdin for stdin.
Please let me know how to achieve above functionality (fopen code given above).