This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Where to put my basename() and dirname() implementation...
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: <cygwin-patches at cygwin dot com>
- Date: Wed, 15 Jan 2003 17:37:16 -0000
- Subject: Where to put my basename() and dirname() implementation...
I have finished my basename() and dirname() (so long for something so simple
;-) implementation and I have two questions:
1) Where would be the best place to put these functions? I was thinking
dir.cc or path.cc?
2) What header file (winsup/cygwin/include) should I put the prototypes
into? On my sun and redhat box they're in libgen.h so should I follow this
convention?
Once I have these answered I will submit the patch here.
Elfyn
elfyn@exposure.org.uk