I see! So in very simple terms, the letter does not criticize goto by itself. It criticizes programmers that used to over use goto on their programs because that could lead to a less structured and harder to maintain program. Although I can agree with that, I often see people criticizing goto even if it's only used in a structured basis like packing all errors and returns in the end portion of a function:
If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn?
If you know any good resources for learning these languages they would be appreciated. (1 Reply)
I'm trying to create an operating system.
Just as a small hobby, it will not be anything big I am trying to get some practice.
Does anyone reccomend a certain programming language because I dont know which one to use.
Any help please? (2 Replies)
Which languages would, in the long run, be best to learn on a UNIX environment
for kernel work, every day programs, and overall UNIX programming? I've been learning C for over a year now (which I'm pretty confident with) and decided I want to look into some other languages.
I'll mainly be... (1 Reply)
hello,
i have to change a lot of shell scripts for one reason :
the output in a script should be done in different languages.
for example:
echo "this is a test"
and "this is a test" should be printed out in language for an example: german,italian and so.
i saw a tool "gettext" ,... (2 Replies)
Hi everyone,
First of all, i dont know what id do without this forum its been such a great help:) so a big thankyou to all,
anyway i have a simple question, if i wrote a scrpt in english would it work on another machine with a different language, or do i have to put something in the script to say... (9 Replies)
Hello All.
Everyday at work I have to fill a big .xls spreadsheet with process chains start and end time information. The thing is that it takes too long and a lot of boring work. :(
I was wondering if I could link this with a tool in java that would export this information into a .xls... (1 Reply)
I am learning Web Development, so far i am learning html,xhtml, css, java script....
What I want to know is what other Web Development languages should i learn? (1 Reply)
I would love the idea to develop games. How can I teach myself computer programming? What programs or software must I use? I have the new iMac? (5 Replies)
Discussion started by: Anna Hussie
5 Replies
LEARN ABOUT HPUX
elf_errmsg
elf_error(3E)elf_error(3E)NAME
elf_errmsg, elf_errno - error handling
SYNOPSIS
[flag... ] file... [library] ...
DESCRIPTION
If an ELF library function fails, a program may call to retrieve the library's internal error number. As a side effect, this function
resets the internal error number to zero, which indicates no error.
takes an error number, err, and returns a null-terminated error message (with no trailing new-line) that describes the problem. A zero err
retrieves a message for the most recent error. If no error has occurred, the return value is a null pointer (not a pointer to the null
string). Using err of -1 also retrieves the most recent error, except it guarantees a non-null return value, even when no error has
occurred. If no message is available for the given number, returns a pointer to an appropriate message. This function does not have the
side effect of clearing the internal error number.
EXAMPLES
The following fragment clears the internal error number and checks it later for errors. Unless an error occurs after the first call to the
next call will return zero.
(void)elf_errno();
while (more_to_do)
{
/* processing ... */
if ((err = elf_errno()) != 0)
{
msg = elf_errmsg(err);
/* print msg */
}
}
SEE ALSO elf(3E), elf_version(3E).
elf_error(3E)