12-09-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, ive just been given a HP UX c180 to play with, along with a few external hd`s, can anyone recommend me a good place to start learning unix please as i havent got a clue what im doing when it comes to unix.
Either web links or book recomendations would be great.
I would like to set it up with... (1 Reply)
Discussion started by: Leviathan40
1 Replies
2. UNIX for Dummies Questions & Answers
Hello.,
I am relatively new to UNIX and to this forum, (I have trolled a while...) so I have a few questions. A family member works for Network Appliance, and I get old machines from liquidation, etc. He has been pushing for me to learn UNIX for quite some time. Recently I have taken his... (1 Reply)
Discussion started by: Dana919
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to learn something new.....I have taken college courses for C and I was looking at my Cellphone and I found a Unix based program that I can use from my phone...pretty nice...but I don't even know how to use Unix at all and want to learn how....so can anyone recommend any good books or... (1 Reply)
Discussion started by: Jodadi
1 Replies
4. UNIX for Dummies Questions & Answers
Does anyone knows how to disconnect specific dial up user from SSH? :cool: (0 Replies)
Discussion started by: dmitryseliv
0 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to UNIX. I need help in working with HP-UX TRU64 OS.
Can any one help in providing the links for the basic and user level commands to work with TRU64 OS.
Help is highly appreciated.
Thanks in advance.
Regards,
Sameera. (2 Replies)
Discussion started by: sameerabhattar
2 Replies
6. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
7. UNIX for Dummies Questions & Answers
I know nothing about Unix but need to set up a user account on a Solaris box and give it access to certain directories. Can anyone provide an idiots step by step guide to setting a user account up?:)
All help will be appreciated (3 Replies)
Discussion started by: Legoman
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have been using Windows until now and I would like to learn unix now. How do I start. I dont have UNIX account, can I still work on Windows and learn UNIX? Where do I start once I have access to UNIX shell?
Please help me.
riaz (3 Replies)
Discussion started by: ruuddin
3 Replies
9. Programming
in a C program, how do you access the unix environment variable USER for example? (1 Reply)
Discussion started by: omega666
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have my new Unix machine setup. Its just have one user root.
I need to create a new user and add it to a group. I want this user to have privileges as root(run all command).
I know i need to use useradd command for this.My question is:
1) To which group i should add my user? DO i need... (2 Replies)
Discussion started by: kailash19
2 Replies
GET_END(3) Library Functions Manual GET_END(3)
NAME
get_end, get_etext, get_edata - get values of UNIX link editor defined symbols
SYNOPSIS
#include <mach-o/getsect.h>
unsigned long get_end();
unsigned long get_etext();
unsigned long get_edata();
DESCRIPTION
These routines provide a stopgap measure to programs that use the UNIX link-editor defined symbols. Use of these routines is very strongly
discouraged. The problem is that any program that is using UNIX link editor defined symbols (_end, _etext or _edata) is making assumptions
that the program has the memory layout of a UNIX program.
This is an incorrect assumption for a program built by the Mach-O link editor. The reason that these routines are provided is that if very
minimal assumptions about the layout are used and the default format and memory layout of the Mach-O link editor is used to build the pro-
gram, some things may work by using the values returned by these routines in place of the addresses of their UNIX link-editor defined sym-
bols. So use at your own risk, and only if you know what your doing. Or better yet, convert the program to use the appropriate Mach or
Mach-O functions. If you are trying to allocate memory use vm_allocate(2), if you are trying to find out about your address space use
vm_region(2) and if you are trying to find out where your program is loaded use the dyld(3) functions.
The values of the UNIX link-editor defined symbols _etext, _edata and _end are returned by the routines get_etext, get_edata, and get_end
respectively. In a Mach-O file they have the following values: get_etext returns the first address after the (__TEXT,__text) section, note
this my or may not be the only section in the __TEXT segment. get_edata returns the first address after the (__DATA,__data) section, note
this my or may not be the last non-zero fill section in the __DATA segment. get_end returns the first address after the last segment in
the executable, note a shared library may be loaded at this address.
SEE ALSO
ld(1), dyld(3)
Apple Computer, Inc. April 10, 1998 GET_END(3)