Re: How to create a symbolic link?

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
Hello,

Thank you. Do I miss some configuration on my clisp?

I get error:
FFI::FIND-FOREIGN-FUNCTION: foreign function "symlink" does not exist

On Fri, Dec 16, 2016 at 02:59:35AM +0100, Pascal Bourguignon wrote:
> You can use FFI to call symlink(2).
> 
> 
> C/USER[14]> (ffi:def-call-out symlink 
>               (:name "symlink")
>               (:arguments (p1 ffi:c-string :in) (p2 ffi:c-string :in))
>               (:return-type ffi:int)
>               (:language  :stdc))


Jean Louis

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.