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 > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Q with stat() JamesGoh High Level Programming 3 09-11-2008 10:30 PM
stat gajju UNIX for Advanced & Expert Users 6 09-08-2008 10:55 PM
Cannot stat? lgardner UNIX for Dummies Questions & Answers 1 05-27-2005 05:05 PM
stat command emreatlier Shell Programming and Scripting 2 08-14-2003 05:03 PM
stat() fails!!! what can i do? solvman High Level Programming 3 02-06-2002 05:17 PM

 
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
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 10-10-2008
arunkumar_mca arunkumar_mca is offline
Registered User
  
 

Join Date: Oct 2004
Posts: 256
Thumbs up stat fails HP unix

Hi all,

I have scenario here , In my C program i check the stat for a file as
stat(fname, &stat_buf);

If it is succesfull, i will process else i will make my program to fail.

The file which i am checking has no stat information. What might be the reason, file has no stat information even though it has all data loaded

I am using HP unix

(sys05nmx:/pmx/d4>) ll 173_i.001
-rw-rw-rw- 1 pmx00 pmx 4941517719 Oct 6 13:37 173_i.001



(sys05nmx:/pmx/d4>)stat 173_i.001
Can't lstat 100373_ipd.001



Please help, stat is working for all other files , only for this file it is not working what might be the reason.

Thanks in Advance,
Arun
 

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:34 AM.


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