strrev man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

STRREV(3)		     C Programmer's Manual		     STRREV(3)

NAME
       strrev - reverse a string in place

SYNOPSIS
       #include <publib.h>
       char *strrev(char *str);

DESCRIPTION
       strrev  reverses	 the  argument string in place, i.e., it swaps the ith
       character from the beginning with the ith character from the end.

RETURN VALUE
       strrev returns its argument.

EXAMPLE
       Reversing "dlrow, elloh" would be done like the following.

	    char str[] = "dlrow, elloh";

	    puts(strrev(str));

       This would output "hello, world".  Note that using the  string  literal
       as  the argument would be an error, since it is not allowable to modify
       string literals.

BUGS
       Does not automatically detect  palindromes,  nor	 automatically	return
       without doing anything.

SEE ALSO
       publib(3), memrev(3)

AUTHOR
       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib			     C Programmer's Manual		     STRREV(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net