REVERSE(3) MBK UTILITY FUNCTIONS REVERSE(3)NAME
reverse - reverse a list of chained elements
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
chain_list *reverse(ptold)
chain_list *ptold;
PARAMETER
ptold Pointer to a chain_list to be reversed
DESCRIPTION
The reverse function allows to reverse the order of the elements of a chain_list. It means that the last element becomes the first one, the
one before the last one the second one, and so on.
remark :
all mbk structures have for first field the NEXT field, so, with appropriate cast, one can reverse any mbk list. Let's notice that
nothing in the C language description demands a structure to be defined in memory the same way its members are defined in C. But all
compiler do it this way now a day. Let's hope it will continue!
RETURN VALUE
reverse returns a pointer to the head of the reversed list.
EXAMPLE
#include "mut.h"
void reverse_con(p)
lofig_list *p;
{
p->LOCON = (locon_list *)reverse((chain_list *)p->LOCON);
}
SEE ALSO mbk(1), chain(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 REVERSE(3)
Check Out this Related Man Page
APPEND(3) MBK UTILITY FUNCTIONS APPEND(3)NAME
append - append a chain_list to an other chain_list
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "mut.h"
chain_list *append(pt1, pt2)
chain_list *pt1,*pt2;
PARAMETERS
pt1 Pointer to a chain_list
pt2 Pointer to a chain_list
DESCRIPTION
append appends the contains of the chain_list pointed to by pt2 at the end of the one pointed to by pt1.
The lists consistency is warranted by the use of the adequat add functions.
RETURN VALUE
append returns a pointer to the new head of list. If pt1 is not NULL, it has the value of pt1, else it is pt2.
EXAMPLE
#include "mut.h"
#include "mlo.h"
void sig_names(s0, s1)
losig_list *s0, *s1;
{
s0->NAMECHAIN = append(s0->NAMECHAIN, s1->NAMECHAIN);
}
SEE ALSO mbk(1), chain(3).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 APPEND(3)
when we send email or try to telnet to a site that requires reverse lookup to be enabled the connection is refused.
i have the O'Reilly book DNS and Bind and in it are examples of what the reverse zone file should look like. i don't see a line that defines an email server in the example. is... (1 Reply)
I'm trying to create a reverse lookup file. Below are the error messages I get in the messages file, when I start named. Below the error messages is a copy of the reverse lookup file I'm trying to use. I'm using Bind version 8.1.2. Would someone recommend the correct values and if you see any... (2 Replies)
Hi,
I need to reverse engineer certain directories so I can create the exact directory structure in another machine. How do I go about doing that?
Thanks in advance for your help.
JTrinh (1 Reply)
Folks...have just stumbled on an issue where DNSstuff says there is no reverse dns in place when there is...as evidenced by a reverse check from 3 diff networks.
Any advice why this would be happening (DNSstuff-wise) would be appreciated.
Jordan:
jsd@standby:~$ host 12.177.133.70... (3 Replies)
command/script(apart from awk) to print the fields in reverse order
that is last field has to come first and so on and first field has to go last
Input
store-id date sale
.............
.............
... (3 Replies)
Hi all,
I have a file named file1as
07/25 00:10 d327490
07/25 00:55 d378299
07/25 03:58 d378299
07/25 06:14 d642035
07/25 12:44 c997126
and now i want to reverse the first filed ie 07/25 as
25/07 00:10 d327490
25/07 00:55 d378299
25/07 03:58 d378299
25/07 06:14 d642035
25/07... (5 Replies)
Hello, I am trying to reverse complement one string and reverse another (NO complement!), both with pointer. My code compiled without error, but did not do the job I wanted.
#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "kseq.h"
// STEP 1: declare the type of file... (5 Replies)
I am passing a char* to the function "reverse" and when I execute it with gdb I get:
Program received signal SIGSEGV, Segmentation fault.
0x000000000040083b in reverse (s=0x400b2b "hello") at pointersExample.c:72
72 *q = *p;
Attached is the source code.
I do not understand why... (9 Replies)