09-24-2001
How can I make ls -l in HP-UNIX?
I made a liitle source about that..
BUt I got a trouble when making files'authority..
How can I display them??
p.s.) used struct stat ..
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
How to make files in Unix (6 Replies)
Discussion started by: gandhevinod
6 Replies
2. Shell Programming and Scripting
Hi,
I saw some people's vi editor show different colors on the text according the nature of text when using it.
It would be nice if I can see diffrerent colors with my vi editor.
Do anybody know how to set it up?
I use PowerTermPro program to access unix machine.
I tried to use vim editor but... (7 Replies)
Discussion started by: whatisthis
7 Replies
3. UNIX for Dummies Questions & Answers
i have this HDD with SCO 5.0.6 and i'm getting this errors
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
Sun Mar 11 05:50:08 2007
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0
WARNING: wd0: Error... (0 Replies)
Discussion started by: josramon
0 Replies
4. Programming
I need tutorial on Make utility on Unix.
Any help or link appreciated.
many thanks
Mirko (3 Replies)
Discussion started by: mmipko
3 Replies
5. UNIX for Dummies Questions & Answers
i'm programming using C under UNIX. i wonder to how make sound using C ? any sound like "beep" would be fine. thx. :confused: (6 Replies)
Discussion started by: trapeze
6 Replies
6. Solaris
how to make link command by c language (2 Replies)
Discussion started by: ma7moudax
2 Replies
7. Hardware
I want to build a network, in this network there is only one PC and 50 terminals, 50 students can use this system to study UNIX/Linux.
In the old days, computer was very expensive, many scientists shared a computer with terminals, that means a terminal has no cpu, memory and hardisk.
In... (5 Replies)
Discussion started by: haixiao_liu
5 Replies
8. HP-UX
Dear Unixians,
I have try to link my libraries with tuxedo
that showing following errors,
]
My make file few lines:
....
actual linking
regards,
kkl (1 Reply)
Discussion started by: kkl
1 Replies
9. Shell Programming and Scripting
I have some insert in my unix shell script. This every insert has a spool (a file with datas) and a sql file with the query. I have to create a report file with three columns:
The first(TAB_NAME) will contains the name of the table in wich has been done the insert, the second (STATE) will... (7 Replies)
Discussion started by: punticci
7 Replies
10. Shell Programming and Scripting
Hi all,
I want to make the string as bold in unix.
is there any way to acheive this?
thanks in advance. (16 Replies)
Discussion started by: SekhaReddy
16 Replies
LEARN ABOUT DEBIAN
explain_stat_or_die
explain_stat_or_die(3) Library Functions Manual explain_stat_or_die(3)
NAME
explain_stat_or_die - get file status and report errors
SYNOPSIS
#include <libexplain/stat.h>
void explain_stat_or_die(const char *pathname, struct stat *buf);
DESCRIPTION
The explain_stat_or_die function is used to call the stat(2) system call. On failure an explanation will be printed to stderr, obtained
from explain_stat(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_stat_or_die(pathname, buf);
pathname
The pathname, exactly as to be passed to the stat(2) system call.
buf The buf, exactly as to be passed to the stat(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
stat(2) get file status
explain_stat(3)
explain stat(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_stat_or_die(3)