04-06-2002
you'r wellcome
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
i m working in a company ...and i have to migrate a C application running on SCO-UNIX to Red hat linux.
can anybody tell me what is the difference between C commands and shell scripting on SCO-UNIX and LINUX.
best regards
harsh (3 Replies)
Discussion started by: vickey
3 Replies
2. UNIX for Dummies Questions & Answers
I want to cheaply build my own PC that will run the latest versions of Linspire, Fedora Core, FreeBSD and Solaris, but I don't know where to start.
This PC doesn't have to be particulary fast. It's video performance need not be top notch, however, sound quality and sound performance must rock!... (4 Replies)
Discussion started by: Mr. Nice Guy
4 Replies
3. UNIX for Dummies Questions & Answers
I was wondering if someone could tell me where I could learn everything about Unix/Linux
and I was also wondering what the differance between Unix and Linux was :confused:
Ive never used it, never seen it.. But Im interested in learning :D (3 Replies)
Discussion started by: Vallzi
3 Replies
4. UNIX for Dummies Questions & Answers
actually m interested in learning unix/linux. should i go for unix or linux and from where will i get the software for these. anyone knowing please help me. (7 Replies)
Discussion started by: sushilgroversp
7 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
New to the forum and in fact Unix.
I want/need to start learning Unix and am a bit confused as to which to start using/download...
Could someone please kindly point me in the right direction as how to get started, there seem to be so many different versions, etc... that i'm getting... (3 Replies)
Discussion started by: gavin watson
3 Replies
6. SuSE
Hi
i am new to Linux, i am trying to connect SCO Unix from SUSE LINUX Workstation but i am unable to define the terminal type.
i have also downloaded terminal softwares but function keys (f1, f2....) and some other keys are displaying code instead of working the correct function.
is there... (2 Replies)
Discussion started by: aafflatoon
2 Replies
LEARN ABOUT OPENSOLARIS
prof
prof(5) Standards, Environments, and Macros prof(5)
NAME
prof - profile within a function
SYNOPSIS
#define MARK
#include <prof.h>
void MARK(name);
DESCRIPTION
MARK introduces a mark called name that is treated the same as a function entry point. Execution of the mark adds to a counter for that
mark, and program-counter time spent is accounted to the immediately preceding mark or to the function if there are no preceding marks
within the active function.
name may be any combination of letters, numbers, or underscores. Each name in a single compilation must be unique, but may be the same as
any ordinary program symbol.
For marks to be effective, the symbol MARK must be defined before the header prof.h is included, either by a preprocessor directive as in
the synopsis, or by a command line argument:
cc -p -DMARK work.c
If MARK is not defined, the MARK(name) statements may be left in the source files containing them and are ignored. prof -g must be used
to get information on all labels.
EXAMPLES
In this example, marks can be used to determine how much time is spent in each loop. Unless this example is compiled with MARK defined on
the command line, the marks are ignored.
#include <prof.h>
work( )
{
int i, j;
. . .
MARK(loop1);
for (i = 0; i < 2000; i++) {
. . .
}
MARK(loop2);
for (j = 0; j < 2000; j++) {
. . .
}
}
SEE ALSO
profil(2), monitor(3C)
SunOS 5.11 3 Jul 1990 prof(5)