File: [local] / src / usr.bin / ssh / Attic / tildexpand.h (download)
Revision 1.2.4.2, Wed Mar 21 18:53:19 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.2.4.1: +0 -0 lines
Pull in OpenSSH-2.5.2 for 2.7 branch.
|
/* $OpenBSD: tildexpand.h,v 1.2.4.2 2001/03/21 18:53:19 jason Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
* All rights reserved
*
* As far as I am concerned, the code I have written for this software
* can be used freely for any purpose. Any derived versions of this
* software must be clearly marked as such, and if the derived work is
* incompatible with the protocol description in the RFC file, it must be
* called by a name other than "ssh" or "Secure Shell".
*/
/*
* Expands tildes in the file name. Returns data allocated by xmalloc.
* Warning: this calls getpw*.
*/
char *tilde_expand_filename(const char *filename, uid_t my_uid);