/[osicat]/src/packages.lisp
ViewVC logotype

Contents of /src/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations)
Sun Sep 25 18:24:35 2005 UTC (8 years, 6 months ago) by jsquires
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +3 -1 lines
Cleaned up OPEN-TEMPORARY-FILE and separated out MAKE-FD-STREAMS to make
way for further fun in that direction.
Fixed some tests.
Prepared things for upcoming 0.5.0 release.
1 ;; Copyright (c) 2003, 2004 Nikodemus Siivola <nikodemus@random-state.net>
2 ;;
3 ;; Permission is hereby granted, free of charge, to any person obtaining
4 ;; a copy of this software and associated documentation files (the
5 ;; "Software"), to deal in the Software without restriction, including
6 ;; without limitation the rights to use, copy, modify, merge, publish,
7 ;; distribute, sublicense, and/or sell copies of the Software, and to
8 ;; permit persons to whom the Software is furnished to do so, subject to
9 ;; the following conditions:
10 ;;
11 ;; The above copyright notice and this permission notice shall be included
12 ;; in all copies or substantial portions of the Software.
13 ;;
14 ;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 ;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 ;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17 ;; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18 ;; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19 ;; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20 ;; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
22 (defpackage :osicat
23 (:use :cl :uffi)
24 (:documentation
25 "Osicat is a lightweight operating system interface for Common Lisp
26 on Unix-platforms. It is not a POSIX-style API, but rather a simple
27 lispy accompaniment to the standard ANSI facilities.
28
29 Osicat homepage:
30
31 http://www.common-lisp.net/project/osicat/
32
33 Concepts:
34
35 Designated directory
36
37 When a relative pathname designator is used as a directory designator
38 it is first resolved agains *default-pathname-default*, and then
39 against the current directory. (With MERGE-PATHNAMES in both cases.)")
40 (:shadow
41 ;; DIRECTORY is used as constant internally. Let's not confuse other packages.
42 #:directory)
43 (:export
44 ;;; Evironment
45 #:environment
46 #:environment-variable
47 #:makunbound-environment-variable
48 ;; Directories
49 #:with-directory-iterator
50 #:mapdir
51 #:delete-directory
52 #:current-directory
53 ;; Files
54 #:file-kind
55 ;; Symlinks
56 #:read-link
57 #:make-link
58 ;; Permissions
59 #:file-permissions
60 ;; Temporary files
61 #:open-temporary-file
62 #:with-temporary-file
63 ;; Password entries
64 #:user-info
65 ;; Version info
66 #:*osicat-version*
67 ;; Pathname utilities
68 #:absolute-pathname
69 #:absolute-pathname-p
70 #:relative-pathname-p
71 #:unmerge-pathnames
72 ;; FD-streams symbol
73 #:fd-streams
74 ))

  ViewVC Help
Powered by ViewVC 1.1.5