(type egg)
(signature "statvfs egg")
(timestamp 1612269487)
(sxml ((section 2 "Outdated egg!" (p "This is an egg for CHICKEN 4, the unsupported old release.  You're almost certainly looking for " (int-link "/eggref/5/statvfs" "the CHICKEN 5 version of this egg") ", if it exists.") (p "If it does not exist, there may be equivalent functionality provided by another egg; have a look at the " (link "https://wiki.call-cc.org/chicken-projects/egg-index-5.html" "egg index") ". Otherwise, please consider porting this egg to the current version of CHICKEN.") (tags "eggs")) (section 2 "statvfs" (toc) (section 3 "Description" (p "statvfs is a tiny little egg that wraps the statvfs unix system call. It's only been tested on OS X and Debian so far.")) (section 3 "Author" (p (int-link "/users/ozzi-lee" "Ozzi Lee"))) (section 3 "Documentation" (def (sig (procedure "(statvfs PATH)" (id statvfs))) (p "Returns a vector of the following values for the filesystem at the path provided in the " (tt "PATH") " string.") (ul (li "(0) File system block size (" (tt "f_bsize") ")") (li "(1) Fundamental file system block size (" (tt "f_frsize") ")") (li "(2) Blocks on FS in units of f_frsize (" (tt "f_blocks") ")") (li "(3) Free blocks (" (tt "f_bfree") ")") (li "(4) Blocks available to non-root (" (tt "f_bavail") ")") (li "(5) Total inodes (" (tt "f_files") ")") (li "(6) Free inodes (" (tt "f_ffree") ")") (li "(7) Free inodes for non-root (" (tt "f_favail") ")") (li "(8) Filesystem ID (" (tt "f_fsid") ")") (li "(9) Bit mask of values (" (tt "f_flag") ")") (li "(10) Max file name length (" (tt "f_namemax") ")")) (p "For more information, see " (tt "man statvfs") " on your system."))) (section 3 "Changelog" (ul (li "1.1.0 - Ported to Chicken 4 (by " (int-link "/users/mario-domenech-goulart" "Mario Domenech Goulart") ")") (li "1.0.1 - Fixed a mistake in the return vector.") (li "1.0"))) (section 3 "License" (pre " ;; Copyright (c) 2008 Ozzi Lee\n \n ;; Permission is hereby granted, free of charge, to any person\n ;; obtaining a copy of this software and associated documentation\n ;; files (the \"Software\"), to deal in the Software without\n ;; restriction, including without limitation the rights to use,\n ;; copy, modify, merge, publish, distribute, sublicense, and/or sell\n ;; copies of the Software, and to permit persons to whom the\n ;; Software is furnished to do so, subject to the following\n ;; conditions:\n \n ;; The above copyright notice and this permission notice shall be\n ;; included in all copies or substantial portions of the Software.\n \n ;; THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n ;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n ;; OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n ;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n ;; HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n ;; WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n ;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n ;; OTHER DEALINGS IN THE SOFTWARE.")))))
