Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Osicat 0.5

    Download button

    No screenshots available
    Downloads: 383  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nikodemus Siivola | More programs
    MIT/X Consortium Lic... / FREE
    March 17th, 2006, 16:28 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Osicat description

    Osicat is lightweight operating system interface for Common Lisp on POSIX-like systems.

    Osicat is lightweight operating system interface for Common Lisp on POSIX-like systems.

    Osicat uses UFFI for foreign bindings, so it is relatively portable, though most active development happens on SBCL and Debian GNU/Linux, so other platforms may experience wrinkles.

    Here are some key features of "Osicat":

    · directory iteration and deletion
    · environment variables
    · symbolic links
    · file permissions
    · file-type identification

    Installation:

    If you have asdf-install, just:

    $ asdf-install osicat

    Sample usage:

    * (with-directory-iterator (next "/")
    (loop for entry = (next)
    while entry
    when (member 'group-write (file-permissions entry))
    collect entry))
    (#P"/home" #P"/vmlinuz" #P"/tmp" #P"/initrd.img" #P"/initrd.img.old")
    * (file-permissions "/initrd.img")
    (USER-READ USER-WRITE
    USER-EXEC
    GROUP-READ
    GROUP-WRITE
    GROUP-EXEC
    OTHER-READ
    OTHER-WRITE
    OTHER-EXEC)
    * (file-kind "/initrd.img")
    :SYMBOLIC-LINK
    * (read-link "/initrd.img")
    #P"boot/initrd.img-2.4.20-3-686"
    *

    Product's homepage

      


    TAGS:

    operating system interface | Common Lisp | UNIX API | Osicat | operating | system

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM