For example:
A structure decleration could look like:
The traditional method of spawning processes (fork) could only communicate
with other forked processes via pipes and and "shared memory". The result is
threads can communicate easily and have a low CPU overhead.
123
'x'
No storage is reserved.
extrn int a;
extrn char c;
variable declaration
struct per_rec
{
int age;
char *surname;
char *firstname;
};
int a;
char c;
struct per_rec person;
For example a function definition would be:
long sqr(int num)
{
return(num*num);
}
z = a + b;
a and b are both operands of the + operator.
Top
Master Index
Keywords
Functions
Martin Leslie