[racket] Socket and character resp. block device file

From: Manfred Lotz (manfred.lotz at arcor.de)
Date: Mon Jan 6 07:47:30 EST 2014

On Mon, 6 Jan 2014 10:32:49 +0100
Manfred Lotz <manfred.lotz at arcor.de> wrote:

> I was to quick to state this is a solution as it is not a good idea if
> for example a socket file will be shown as a duplicate of normal file
> having size zero.
> 
> For the time being I guess I have to look how to implement it using C
> stat call from Racket.
> 
> 

To get into I tried the example in 'Indide Racket C API'/Overview

I got:
compiled
compiled/native
compiled/native/amd64-linux
compiled/native/amd64-linux/3m
compiled/native/amd64-linux/3m/hi_rkt.so


Documentation says that it could be loaded like this: 

 (require "hi.rkt")


Now my question: What would the content of hi.rkt be?


-- 
Manfred





Posted on the users mailing list.