08-30-2006
How so? Even if the error goes away, the program still lacks the error-checking to handle them. It should fail, not crash.
10 More Discussions You Might Find Interesting
1. Programming
hi guys, I'have a question 4 u.
Why this code give me the right output (an integer on the stdout):
read(fd,&mpid,sizeof(pid_t));
printf("%d\n",mpid);
Instead this code give me only a blank line:
read(fd,&mpid,sizeof(pid_t));
write(STDOUT_FILENO,&mpid,sizeof(pid_t));
... (2 Replies)
Discussion started by: M3xican
2 Replies
2. UNIX for Dummies Questions & Answers
welll, the title quite explains what i want to do
thanks for your time! (4 Replies)
Discussion started by: kfaday
4 Replies
3. Shell Programming and Scripting
Hi folks,
Need your help.
I am writing a KSH script to read a few commands from a file & execute.
I am using the following code to read the file line by line & excute each command. When I am printing each line I see it is printing properly but while excuting, the particular "ps" command... (5 Replies)
Discussion started by: tipsy
5 Replies
4. UNIX for Dummies Questions & Answers
folks;
I created a new users on my SUSE box and i need to give this user/group a read write access to one specific folder. here's the details:
- I created new user "funny" under group "users".
- I need to give this user "funny" a read/write access to another directory that is owned by "root".... (3 Replies)
Discussion started by: Katkota
3 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I want to know differences between read,write & execute permissons given to directory.
Thanx in advance. (6 Replies)
Discussion started by: vishwasrao
6 Replies
6. Shell Programming and Scripting
Hi,
root@server] df -h
121G 14G 101G 12% /home
147G 126G 14G 91% /backup
We having our site files and images are storing in
/backup/home/user/files/ through symbolic link created in /home directory pointing in /backup directory as following.
root@server] cd /home... (1 Reply)
Discussion started by: mirfan
1 Replies
7. Shell Programming and Scripting
Hi, I hope the title does not scare people to look into this thread but it describes roughly what I'm trying to do. I need a solution in PHP.
I'm a programming beginner, so it might be that the approach to solve this, might be easier to solve with an other approach of someone else, so if you... (0 Replies)
Discussion started by: lowmaster
0 Replies
8. IP Networking
Hi,
We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies
9. Programming
I am trying to make a server and client, the client will choose between some options and the server will react accordingly.
After a some reads and writes that work the server needs to read from client an INT i use this:
read(newSd,&k,sizeof(int));But even if all the other times there was no... (1 Reply)
Discussion started by: theSling
1 Replies
10. UNIX for Dummies Questions & Answers
How to use MAN to find information about read() and write() function ?
The command "man read" show some rubbish, for example "man open" show great information about function I need. (2 Replies)
Discussion started by: bbqtoss
2 Replies
LEARN ABOUT CENTOS
abrt.conf
ABRT.CONF(5) ABRT Manual ABRT.CONF(5)
NAME
abrt.conf - Configuration file for abrt.
DESCRIPTION
abrt is a daemon that watches for application crashes. When a crash occurs, it collects the problem data and takes action according to its
configuration. This document describes abrt's configuration file.
The configuration file consists of items in the format "Option = Value". A description of each item follows:
DumpLocation = directory
The directory where should abrt store coredumps and all files which are needed for reporting. The default is /var/tmp/abrt.
MaxCrashReportsSize = number
The maximum disk space (specified in megabytes) that abrt will use for all the crash dumps. Specify a value here to ensure that the
crash dumps will not fill all available storage space. The default is 1000.
WatchCrashdumpArchiveDir = directory
The daemon will watch this directory and call abrt-handle-upload on files which appear there. This is used to auto-unpack crashdump
tarballs uploaded via ftp, scp, etc. The directory must exist and be writable for abrt. There is no default.
DeleteUploaded = yes/no
The daemon will delete an uploaded crashdump archive after an atempt to unpack it. An archive will be delete whether unpacking finishes
successfully or not. The default value is no.
SEE ALSO
abrtd(8) abrt-action-save-package-data.conf(5) abrt-handle-upload(1)
AUTHORS
o ABRT team
abrt 2.1.11 06/18/2014 ABRT.CONF(5)