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
GETCWD.3
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:
OS Develop
Development Platform:
WINDOWS
- ." Copyright (c) 1983 Regents of the University of California.
- ." All rights reserved. The Berkeley software License Agreement
- ." specifies the terms and conditions for redistribution.
- ."
- ." @(#)getwd.3 6.2 (Berkeley) 5/12/86
- ."
- .TH GETCWD 3 "May 12, 1986"
- .UC 5
- .SH NAME
- getcwd - get current working directory pathname
- .SH SYNOPSIS
- .nf
- .ft B
- #include <unistd.h>
- char *getcwd(char *fIpathnamefP, size_t fIlenfP)
- .fi
- .SH DESCRIPTION
- .B Getcwd
- copies the absolute pathname of the current working directory to
- .I pathname
- and returns a pointer to the result.
- .I Pathname
- is a character array of length
- .IR len .
- .SH DIAGNOSTICS
- .B Getcwd
- returns a null pointer and sets
- .B errno
- if an error occurs. The error will reflect the system call errors that
- may occur if the path to the current directory is searched upwards to
- the root directory. The error
- .B ERANGE
- is returned if the result does not fit within
- .I len
- bytes.