The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



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

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-13-2009
erra_krishna erra_krishna is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 3
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.
  #2 (permalink)  
Old 10-13-2009
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2007
Location: Germany
Posts: 2,285
There is no such device file on AIX.
  #3 (permalink)  
Old 10-14-2009
erra_krishna erra_krishna is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 3
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).
  #4 (permalink)  
Old 10-15-2009
garethr garethr is offline
Registered User
  
 

Join Date: May 2009
Location: England
Posts: 91
Could you get around this by using a "mkfifo" pipe?
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0