i have a serious doubht about the assignment of memory
in hp-ux system .
i read from somewhere that the page allocation in
hp-ux is not unified unlike compaq .
i wanted to know in hp-ux kernel ,once the pages are
assigned for the univarsal buffer cache... (2 Replies)
Hai Friends
I am writing a cgi program in C. The CGI program has a link to start my tcp chat server... The tcp chat server prints some information when it starts... I have captured the informations and sent to the client browser through the cgi program... But the output is displayed all... (6 Replies)
Hi... I have a question about how many lines the window can remember... is there an environemtn varible for this I can change??? I'm not talking about how many previous commands it remembers. I am talking about how many lines it remembers and for how many lines I can press "page-up" and I can... (4 Replies)
Hi guys,
Currently i have a IBM x366 running on Red Hat 4 attached to a DS4800. I've configured 10 LUNs to the server. Somehow, there is a lot buffer io error on device whenever it boot and when i issue the command dmesg.
My kernel is 2.6.9-22.ELsmp. I've updated the hba qla2300 firmware to... (2 Replies)
this question is probably trivial to most of you but i do not have the answer.
the task is simple...
yank 7 lines of text from one file and paste them to another
so while in command mode i enter
"b7yy and i get 7 lines yanked
exit vi with :q!
open the new file
while in command mode i... (2 Replies)
Hi. I have some questions about using sed. I cannot use the hold buffer. For example i want to put first line to the buffer than take second line and append the buffer to the second line.then 3th to the all. It will be like 2->1->3 th lines. Any idea? (1 Reply)
Hello,
I am using vi to edit file
vi filea
:e fileb
and :e# to switch between filea and fileb
Now, I'd like to have many files open at the same time and have a way to cycle between them.
:bn does not work; when I type it, nothing happens...
Is there something to add to the... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
My problem is that when creating my producers and consumers, if I don't create an equal number of both, the... (12 Replies)
Discussion started by: digitalbrainiac
12 Replies
LEARN ABOUT DEBIAN
ecalloc
ECALLOC(3) BSD Library Functions Manual ECALLOC(3)NAME
ecalloc, emalloc, eread, erealloc, esetenv, estrdup, ewrite -- exit-on-failure wrapper functions
LIBRARY
The roken library (libroken, -lroken)
SYNOPSIS
#include <roken.h>
void *
ecalloc(size_t number, size_t size);
void *
emalloc(size_t sz);
ssize_t
eread(int fd, void *buf, size_t nbytes);
void *
erealloc(void *ptr, size_t sz);
void
esetenv(const char *var, const char *val, int rewrite);
char *
estrdup(const char *str);
ssize_t
ewrite(int fd, const void *buf, size_t nbytes);
DESCRIPTION
These functions do the same as the ones without the ``e'' prefix, but if there is an error they will print a message with errx(3), and exit.
For eread and ewrite this is also true for partial data.
This is useful in applications when there is no need for a more advanced failure mode.
SEE ALSO read(2), write(2), calloc(3), errx(3), malloc(3), realloc(3), setenv(3), strdup(3)HEIMDAL August 14, 2003 HEIMDAL