Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
strdup.3
Package: wu-ftpd-2.6.0.tar.gz [view]
Upload User: zibowangxu
Upload Date: 2007-01-04
Package Size: 331k
Code Size: 1k
Category:
Ftp Client
Development Platform:
Unix_Linux
- ."
- ." Copyright (c) 1999 WU-FTPD Development Group.
- ." All rights reserved.
- ."
- ." Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994
- ." The Regents of the University of California. Portions Copyright (c)
- ." 1993, 1994 Washington University in Saint Louis. Portions Copyright
- ." (c) 1996, 1998 Berkeley Software Design, Inc. Portions Copyright (c)
- ." 1998 Sendmail, Inc. Portions Copyright (c) 1983, 1995, 1996, 1997 Eric
- ." P. Allman. Portions Copyright (c) 1989 Massachusetts Institute of
- ." Technology. Portions Copyright (c) 1997 Stan Barber. Portions
- ." Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997 Free Software
- ." Foundation, Inc. Portions Copyright (c) 1997 Kent Landfield.
- ."
- ." Use and distribution of this software and its source code are governed
- ." by the terms and conditions of the WU-FTPD Software License ("LICENSE").
- ."
- ." $Id: strdup.3,v 1.3 1999/08/27 14:45:11 wuftpd Exp $
- ."
- .Dd April 19, 1991
- .Dt STRDUP 3
- .Os
- .Sh NAME
- .Nm strdup
- .Nd save a copy of a string
- .Sh SYNOPSIS
- .Fd #include <string.h>
- .Ft char *
- .Fn strdup "const char *str"
- .Sh DESCRIPTION
- The
- .Fn strdup
- function
- allocates sufficient memory for a copy
- of the string
- .Fa str ,
- does the copy, and returns a pointer to it.
- The pointer may subsequently be used as an
- argument to the function
- .Xr free 3 .
- .Sh SEE ALSO
- .Xr calloc 3
- .Xr malloc 3
- .Xr realloc 3
- .Xr free 3
- .Sh HISTORY
- The
- .Fn strdup
- function
- .Ud .