ERROR(5) File Formats Manual ERROR(5)NAME
error - return an error
SYNOPSIS
Rerror tag[2] ename[64]
DESCRIPTION
The Rerror request (there is no Terror) is used to return an error string, of length 64 (ERRLEN in <libc.h>), describing the failure of a
transaction. It replaces the corresponding reply message that would accompany a successful call; its tag is that of the request.
ERROR(5)
Check Out this Related Man Page
READ(5) File Formats Manual READ(5)NAME
read, write - transfer data from and to a file
SYNOPSIS
Tread tag[2] fid[2] offset[8] count[2]
Rread tag[2] fid[2] count[2] pad[1] data[count]
Twrite tag[2] fid[2] offset[8] count[2] pad[1] data[count]
Rwrite tag[2] fid[2] count[2]
DESCRIPTION
The read request asks for count bytes of data from the file identified by fid, which must be opened for reading, starting offset bytes
after the beginning of the file. Count must be less than or equal to MAXFDATA (8192, defined in <fcall.h>). The bytes are returned with
the read reply message.
The count field in the reply indicates the number of bytes returned. This may be less than the requested amount. If the offset field is
greater than the number of bytes in the file, a count of zero will be returned. For directories, read returns an integral number of direc-
tory entries exactly as in stat (see stat(5)), one for each member of the directory. The read request message must have offset and count
zero modulo DIRLEN.
The write request asks that count bytes of data be recorded in the file identified by fid, which must be opened for writing, starting off-
set bytes after the beginning of the file. If the file has been opened append only, the data will be placed at the end of the file regard-
less of offset. Directories may not be written.
The write reply records the number of bytes actually written. It is usually an error if this is not the same as requested.
ENTRY POINTS
Read and write messages are generated by the corresponding calls. Because of the MAXFDATA limit, more than one message may be produced by
a single call.
READ(5)
First off I try to install XTheater on SuSE 9.2 Pro I run the ./configure command and this is what I get
chris@linux:~/Desktop/Xtheater-0.9.2> ./configure
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is... (25 Replies)
I'm trying to have a cgi script use a string from the window location in a template file. When I run the script I get Internal Server Error and when I go to my control panel error log it says Premature end of script headers. I was wondering if some experienced programmer would take a look at it and... (37 Replies)
Hi all,
I am trying to use the disk for mirror where in the mirror disk is of 160 gb and the rootdisk is of 80 gb. when i am trying to write the vtoc i am getting below error
i tried the below command
#prtvtoc /dev/rdsk/c0t0d0s0 |fmthard -s -/dev/rdsk/c0t2d0s0
and got below
... (26 Replies)
Over the past few weeks, I saw a couple of threads requesting recursive ftp:
Copying files between 2 Unix server
ftp from NT to UNIX
I decided to try to write a script to accommodate these requests. The result is HardFeed. Here are a few examples of what it can do.
HardFeed ftpserver... (52 Replies)
Hi all, I am trying to run one model which contains many functions, If I use file below 1MB it works fine but If I use more than 1 MB getting following error
Please give me some solution
OS : Ubuntu 32-bit 12.04 LTS
*** glibc detected *** awk: double free or corruption (out): 0x08ac8768... (27 Replies)
Hi,
I am getting below error in Solaris 10 SPARC when trying to issue a search on /var/tmp partition
Below is the query
/bin/find /var/tmp/ -type f -atime +1
Below is the result
/bin/find: stat() error <File> : No such file or directory (28 Replies)
Update:
The / file system (/dev/rdsk/c1t0d0s0) is being checked
fsck unable to stat
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F ufs /dev/rdsk/c1t0d0s0).
Root password for system maintenance (control-d to bypass):
I am unable to hit control-d to by pass.
I... (50 Replies)
Hello Dears,
I have fujitsu tx300 S7 server with installed sco unixware 7.1.4,
Now the /etc is corrupted and the sco cannot boot.
There is no emergency disk or cd, I'm trying to fix this with reinstalling unixware again, but the problem now that when i try to install the HBA driver that i... (26 Replies)
Last week our legacy SCO OpenServer 5.0.6 server started showing "panic" errors about bad blocks/sectors on hard drive. I ran the badtrack command which fully checked the disk, and it identified 2 LBA sectors as bad, and it was unable to recover some of the data. Apparently the lost data had... (29 Replies)
hi
i have an android phone which i think is bricked, so wanted to see what the actual issue is, I flashed it with TWRP recovery image and launched terminal i, was able understand that mount is not happening, it says invalid argument and no such file or directory. Below is what i get while... (32 Replies)
hello all
im new to unix and when i use below script i get an error :
#! /bin/bash
Echo -e "enter the name of the file : \c"
read file_name
if
then
echo "$file_name found"
else
echo "$file_name not found"
fi
running the script i get below error :
$ ./hello (26 Replies)
We have a legacy system that runs on SCO OpenServer 5.0.6, and I've rebuilt the server a couple of times so we can have access to old historical data. That system suddenly went offline for no known reason, and I know that the configuration has not been altered, there is nobody with access to the... (63 Replies)
For over a decade, unix.com has been in the top tier for search referrals. The keyword "unix" used to rank #4, and when it was down, it was #9. At times, we were close to #2 on Google for the "unix" keyword. Now, in some geos (in the US for example yesterday), in Google search the "unix"... (28 Replies)