![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| STDIN Devie File Name and Location | erra_krishna | HP-UX | 0 | 10-13-2009 03:40 AM |
| Bash copy file contents into an existing file at a specific location | gshepherd7 | Shell Programming and Scripting | 6 | 03-11-2009 09:26 AM |
| copy files from one location to similar location | pharos467 | UNIX for Advanced & Expert Users | 1 | 09-21-2008 12:21 PM |
| What is the file location? | Chanakya.m | Shell Programming and Scripting | 5 | 07-17-2006 12:42 AM |
| Changing stdin from file redirection to console input | nauman | High Level Programming | 4 | 09-29-2001 08:42 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
STDIN Devie File Name and Location
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. Thanks regards, Srikrishna Erra. |
|
||||
|
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). |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|