stpncpy man page on Cygwin

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

STPNCPY(3)			    NEWLIB			    STPNCPY(3)

NAME
       6.15 `stpncpy'--counted copy string returning a pointer to its end

SYNOPSIS
	    #include <string.h>
	    char *stpncpy(char *DST, const char *SRC, size_t LENGTH);

DESCRIPTION
       `stpncpy'  copies  not  more than LENGTH characters from the the string
       pointed to by SRC (including the terminating  null  character)  to  the
       array  pointed  to  by DST.  If the string pointed to by SRC is shorter
       than LENGTH characters, null characters are appended to the destination
       array until a total of LENGTH characters have been written.

RETURNS
       This  function  returns a pointer to the end of the destination string,
       thus pointing to the trailing ' ', or, if the destination string is not
       null-terminated, pointing to dst + n.

PORTABILITY
       `stpncpy' is a GNU extension, candidate for inclusion into POSIX/SUSv4.

	  `stpncpy' requires no supporting OS subroutines.

SEE ALSO
       stpncpy	is  part  of the library.  The full documentation for is main‐
       tained as a Texinfo manual.  If info and are properly installed at your
       site, the command

	      info

       will give you access to the complete manual.

NEWLIB				  April 2010			    STPNCPY(3)
[top]

List of man pages available for Cygwin

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