![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem shmat in HP-UX Titanium ia64. EINVAL Error | dairby | High Level Programming | 3 | 08-04-2009 11:22 AM |
| GUI problem with Suse Linux | mac4rfree | SuSE | 2 | 11-12-2008 02:20 AM |
| HP-UX 11.23 ia64 and Glance | LisaS | UNIX for Dummies Questions & Answers | 2 | 01-03-2008 01:38 PM |
| SuSE parted problem | Mudrack | SuSE | 0 | 06-12-2006 12:10 PM |
| SuSE 8.1 NIC problem | norsk hedensk | UNIX for Dummies Questions & Answers | 2 | 04-07-2003 11:54 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
problem of readdir on IA64 suse
Dear Experts, i am trying to find whether the given name is file or a directory Code:
dirp = opendir(dirname);
direntp = readdir(dirp);
if(direntp->d_type & DT_DIR)
{
printf("\n is a dirctory");
}
else
{
//dir_or_file = Mtrue;
printf("\n not a directory");
}
it always gives me not a directory but the same code works with red hat 64 bit but not working with suse ia 64 m/c please can you give the reason. thanks in advance. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|