END(3) Library Functions Manual END(3)NAME
end, etext, edata - last locations in program
extern int etext;
extern int edata;
extern int end, _end;
These names refer neither to routines nor to locations with interesting contents. The address of etext is the first address above the pro-
gram text, edata above the initialized data region, and end above the uninitialized data region. _end is the same as end, but in the
implementers name space, i.e. for use in libraries.
When execution begins, the program break coincides with end, but it is reset by the routines brk(2), malloc(3), standard input/output
(stdio(3)), etc. The current value of the program break is reliably returned by `sbrk(0)', see brk(2).
SEE ALSO brk(2), malloc(3).
7th Edition May 12, 1986 END(3)
Check Out this Related Man Page
end(3C) Standard C Library Functions end(3C)NAME
end, _end, etext, _etext, edata, _edata - last locations in program
extern int _etext;
extern int _edata;
extern int _end;
These names refer neither to routines nor to locations with interesting contents; only their addresses are meaningful.
_etext The address of _etext is the first location after the program text.
_edata The address of _edata is the first location after the initialized data region.
_end The address of _end is the first location after the uninitialized data region.
When execution begins, the program break (the first location beyond the data) coincides with _end, but the program break may be reset by
the brk(2), malloc(3C), and the standard input/output library (see stdio(3C)), functions by the profile (-p) option of cc(1B), and so on.
Thus, the current value of the program break should be determined by sbrk ((char *)0).
References to end, etext, and edata, without a preceding underscore will be aliased to the associated symbol that begins with the under-
SEE ALSO cc(1B), brk(2), malloc(3C), stdio(3C)SunOS 5.10 1 Sep 2003 end(3C)
I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host?
Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
I have old SUN server on my desk. I know it worked before. I want to be able to connect to server from my PC. Just to establish a dump terminal.
1. I connected to power socket
2. I Have a cable that fits in (i believe is a com ports there are A B slots the same I plugged it in A). They are... (33 Replies)
Every day i ftp tar.gz a file from the production server to a back up machine.. This task creates way to much traffic on the network at the end of the day and puts and undo load on the production machine during operation hours. i would like to create a script that would automatically fire off the... (36 Replies)
How can I remove the line beak in the following case if the line begin with the special char “;”?
I want to convert the text to:
I have already tried to use... (31 Replies)
I am loading data into the 4 tables from 4 different input files.
The data gets loaded, and the e-mail is also sent to the user, but the log files for all the 4 files is not been sent..
I am trying to send e-mail to users with the log file as attachment.
The script is as follows:... (30 Replies)
First time poster and a very new Unix user, so I'll just pre-apologize for stupid questions now.
Does anybody know of a good RAID 1 hard drive backup that is Unix friendly? I want to avoid any hardcore programming. Can you recommend both NAS and non-NAS options? I need to do nightly backups... (31 Replies)
This includes the time you spend reading threads, answering them and all the other activities at unix.com on an average for a week.
This poll is about your time with unix.com :b:
Poll and if possible just drop a short note about which part of the day you spend the most !!!
I hope this is... (32 Replies)
here is the contents of bigfile.sql
CREATE TABLE `Table11` (
`id` int(11) NOT NULL ,
`entityName` enum('Lines','EndUsers') COLLATE utf8_unicode_ci NOT NULL,
`parentAllianceMigrationProjectId` varchar(255) NOT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2000 DEFAULT CHARSET=utf8... (30 Replies)
I have extracted a raw data file from a magnetic tape using the dd command
Afterwards, I managed to read the extracted data with Bless HexEditor and I found out that at offset 0x200000 there is a sequence of value which originally was stored in a table.
I would like to extract this data and... (45 Replies)
i have a generated report in unix in the following command like
the input file format is fixed
I need the my output file with append text as below
0124 count : 8
0125... (34 Replies)
Is there a way to append an existing xlsx worksheet to add data from a text file ?
I have an excel file for which I need to manipulate the first worksheet based on a text file.
I match the text file to the xlsx and write the 'Scores' column in the xlsx sheet and save the workbook.
For those ... (43 Replies)
I am on AIX.
When I encounter extended ascii characters and special characters on a file I need to print..
Byte position, actual character and line number.
Is there a simple command that can give me the above result ?
Thanks in advance (38 Replies)