mailing list of musl libc
 help / color / mirror / code / Atom feed
* funopen() from BSD
@ 2012-09-28 21:01 Daniel Cegiełka
  2012-09-28 21:35 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Cegiełka @ 2012-09-28 21:01 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi,

Rich wrote about files/threads locking. I'm trying to implement
functions funopen() and port it to musl.

http://www.openbsd.org/cgi-bin/man.cgi?query=funopen&sektion=3

funopen() function is similar to gnulib's fopencookie() - I found
implementation in newlib:

http://sourceware.org/newlib/
http://sourceware.org/cgi-bin/cvsweb.cgi/~checkout~/src/newlib/libc/stdio/funopen.c?rev=1.2&content-type=text/plain&cvsroot=src

I cleaned the code and more prepared to work with musl, but I have to
use locking from musl... so I need some help in explaining how to use
the lock's feature from musl.

Rich, is there any chance that this function could be added to musl?
It's used in BSD.

Thanks for any help,
Daniel

[-- Attachment #2: funopen_orig.c --]
[-- Type: text/x-csrc, Size: 7751 bytes --]

/* Copyright (C) 2007 Eric Blake
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

/*
FUNCTION
<<funopen>>, <<fropen>>, <<fwopen>>---open a stream with custom callbacks

INDEX
	funopen
INDEX
	fropen
INDEX
	fwopen

ANSI_SYNOPSIS
	#include <stdio.h>
	FILE *funopen(const void *<[cookie]>,
	              int (*<[readfn]>) (void *cookie, char *buf, int n),
	              int (*<[writefn]>) (void *cookie, const char *buf, int n),
	              fpos_t (*<[seekfn]>) (void *cookie, fpos_t off, int whence),
	              int (*<[closefn]>) (void *cookie));
	FILE *fropen(const void *<[cookie]>,
	             int (*<[readfn]>) (void *cookie, char *buf, int n));
	FILE *fwopen(const void *<[cookie]>,
	             int (*<[writefn]>) (void *cookie, const char *buf, int n));

DESCRIPTION
<<funopen>> creates a <<FILE>> stream where I/O is performed using
custom callbacks.  At least one of <[readfn]> and <[writefn]> must be
provided, which determines whether the stream behaves with mode <"r">,
<"w">, or <"r+">.

<[readfn]> should return -1 on failure, or else the number of bytes
read (0 on EOF).  It is similar to <<read>>, except that <int> rather
than <size_t> bounds a transaction size, and <[cookie]> will be passed
as the first argument.  A NULL <[readfn]> makes attempts to read the
stream fail.

<[writefn]> should return -1 on failure, or else the number of bytes
written.  It is similar to <<write>>, except that <int> rather than
<size_t> bounds a transaction size, and <[cookie]> will be passed as
the first argument.  A NULL <[writefn]> makes attempts to write the
stream fail.

<[seekfn]> should return (fpos_t)-1 on failure, or else the current
file position.  It is similar to <<lseek>>, except that <[cookie]>
will be passed as the first argument.  A NULL <[seekfn]> makes the
stream behave similarly to a pipe in relation to stdio functions that
require positioning.  This implementation assumes fpos_t and off_t are
the same type.

<[closefn]> should return -1 on failure, or 0 on success.  It is
similar to <<close>>, except that <[cookie]> will be passed as the
first argument.  A NULL <[closefn]> merely flushes all data then lets
<<fclose>> succeed.  A failed close will still invalidate the stream.

Read and write I/O functions are allowed to change the underlying
buffer on fully buffered or line buffered streams by calling
<<setvbuf>>.  They are also not required to completely fill or empty
the buffer.  They are not, however, allowed to change streams from
unbuffered to buffered or to change the state of the line buffering
flag.  They must also be prepared to have read or write calls occur on
buffers other than the one most recently specified.

The functions <<fropen>> and <<fwopen>> are convenience macros around
<<funopen>> that only use the specified callback.

RETURNS
The return value is an open FILE pointer on success.  On error,
<<NULL>> is returned, and <<errno>> will be set to EINVAL if a
function pointer is missing, ENOMEM if the stream cannot be created,
or EMFILE if too many streams are already open.

PORTABILITY
This function is a newlib extension, copying the prototype from BSD.
It is not portable.  See also the <<fopencookie>> interface from Linux.

Supporting OS subroutines required: <<sbrk>>.
*/

#include <stdio.h>
#include <errno.h>
#include <sys/lock.h>
#include "local.h"

typedef int (*funread)(void *_cookie, char *_buf, int _n);
typedef int (*funwrite)(void *_cookie, const char *_buf, int _n);
#ifdef __LARGE64_FILES
typedef _fpos64_t (*funseek)(void *_cookie, _fpos64_t _off, int _whence);
#else
typedef fpos_t (*funseek)(void *_cookie, fpos_t _off, int _whence);
#endif
typedef int (*funclose)(void *_cookie);

typedef struct funcookie {
  void *cookie;
  funread readfn;
  funwrite writefn;
  funseek seekfn;
  funclose closefn;
} funcookie;

static _READ_WRITE_RETURN_TYPE
_DEFUN(funreader, (ptr, cookie, buf, n),
       struct _reent *ptr _AND
       void *cookie _AND
       char *buf _AND
       int n)
{
  int result;
  funcookie *c = (funcookie *) cookie;
  errno = 0;
  if ((result = c->readfn (c->cookie, buf, n)) < 0 && errno)
    ptr->_errno = errno;
  return result;
}

static _READ_WRITE_RETURN_TYPE
_DEFUN(funwriter, (ptr, cookie, buf, n),
       struct _reent *ptr _AND
       void *cookie _AND
       const char *buf _AND
       int n)
{
  int result;
  funcookie *c = (funcookie *) cookie;
  errno = 0;
  if ((result = c->writefn (c->cookie, buf, n)) < 0 && errno)
    ptr->_errno = errno;
  return result;
}

static _fpos_t
_DEFUN(funseeker, (ptr, cookie, off, whence),
       struct _reent *ptr _AND
       void *cookie _AND
       _fpos_t off _AND
       int whence)
{
  funcookie *c = (funcookie *) cookie;
#ifndef __LARGE64_FILES
  fpos_t result;
  errno = 0;
  if ((result = c->seekfn (c->cookie, (fpos_t) off, whence)) < 0 && errno)
    ptr->_errno = errno;
#else /* __LARGE64_FILES */
  _fpos64_t result;
  errno = 0;
  if ((result = c->seekfn (c->cookie, (_fpos64_t) off, whence)) < 0 && errno)
    ptr->_errno = errno;
  else if ((_fpos_t)result != result)
    {
      ptr->_errno = EOVERFLOW;
      result = -1;
    }
#endif /* __LARGE64_FILES */
  return result;
}

#ifdef __LARGE64_FILES
static _fpos64_t
_DEFUN(funseeker64, (ptr, cookie, off, whence),
       struct _reent *ptr _AND
       void *cookie _AND
       _fpos64_t off _AND
       int whence)
{
  _fpos64_t result;
  funcookie *c = (funcookie *) cookie;
  errno = 0;
  if ((result = c->seekfn (c->cookie, off, whence)) < 0 && errno)
    ptr->_errno = errno;
  return result;
}
#endif /* __LARGE64_FILES */

static int
_DEFUN(funcloser, (ptr, cookie),
       struct _reent *ptr _AND
       void *cookie)
{
  int result = 0;
  funcookie *c = (funcookie *) cookie;
  if (c->closefn)
    {
      errno = 0;
      if ((result = c->closefn (c->cookie)) < 0 && errno)
	ptr->_errno = errno;
    }
  _free_r (ptr, c);
  return result;
}

FILE *
_DEFUN(_funopen_r, (ptr, cookie, readfn, writefn, seekfn, closefn),
       struct _reent *ptr _AND
       const void *cookie _AND
       funread readfn _AND
       funwrite writefn _AND
       funseek seekfn _AND
       funclose closefn)
{
  FILE *fp;
  funcookie *c;

  if (!readfn && !writefn)
    {
      ptr->_errno = EINVAL;
      return NULL;
    }
  if ((fp = __sfp (ptr)) == NULL)
    return NULL;
  if ((c = (funcookie *) _malloc_r (ptr, sizeof *c)) == NULL)
    {
      __sfp_lock_acquire ();
      fp->_flags = 0;		/* release */
#ifndef __SINGLE_THREAD__
      __lock_close_recursive (fp->_lock);
#endif
      __sfp_lock_release ();
      return NULL;
    }

  _flockfile (fp);
  fp->_file = -1;
  c->cookie = (void *) cookie; /* cast away const */
  fp->_cookie = c;
  if (readfn)
    {
      c->readfn = readfn;
      fp->_read = funreader;
      if (writefn)
	{
	  fp->_flags = __SRW;
	  c->writefn = writefn;
	  fp->_write = funwriter;
	}
      else
	{
	  fp->_flags = __SRD;
	  c->writefn = NULL;
	  fp->_write = NULL;
	}
    }
  else
    {
      fp->_flags = __SWR;
      c->writefn = writefn;
      fp->_write = funwriter;
      c->readfn = NULL;
      fp->_read = NULL;
    }
  c->seekfn = seekfn;
  fp->_seek = seekfn ? funseeker : NULL;
#ifdef __LARGE64_FILES
  fp->_seek64 = seekfn ? funseeker64 : NULL;
  fp->_flags |= __SL64;
#endif
  c->closefn = closefn;
  fp->_close = funcloser;
  _funlockfile (fp);
  return fp;
}

#ifndef _REENT_ONLY
FILE *
_DEFUN(funopen, (cookie, readfn, writefn, seekfn, closefn),
       const void *cookie _AND
       funread readfn _AND
       funwrite writefn _AND
       funseek seekfn _AND
       funclose closefn)
{
  return _funopen_r (_REENT, cookie, readfn, writefn, seekfn, closefn);
}
#endif /* !_REENT_ONLY */

[-- Attachment #3: funopen.c --]
[-- Type: text/x-csrc, Size: 6864 bytes --]

/* Copyright (C) 2007 Eric Blake
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

/*
FUNCTION
<<funopen>>, <<fropen>>, <<fwopen>>---open a stream with custom callbacks

INDEX
	funopen
INDEX
	fropen
INDEX
	fwopen

ANSI_SYNOPSIS
	#include <stdio.h>
	FILE *funopen(const void *<[cookie]>,
	              int (*<[readfn]>) (void *cookie, char *buf, int n),
	              int (*<[writefn]>) (void *cookie, const char *buf, int n),
	              fpos_t (*<[seekfn]>) (void *cookie, fpos_t off, int whence),
	              int (*<[closefn]>) (void *cookie));
	FILE *fropen(const void *<[cookie]>,
	             int (*<[readfn]>) (void *cookie, char *buf, int n));
	FILE *fwopen(const void *<[cookie]>,
	             int (*<[writefn]>) (void *cookie, const char *buf, int n));

DESCRIPTION
<<funopen>> creates a <<FILE>> stream where I/O is performed using
custom callbacks.  At least one of <[readfn]> and <[writefn]> must be
provided, which determines whether the stream behaves with mode <"r">,
<"w">, or <"r+">.

<[readfn]> should return -1 on failure, or else the number of bytes
read (0 on EOF).  It is similar to <<read>>, except that <int> rather
than <size_t> bounds a transaction size, and <[cookie]> will be passed
as the first argument.  A NULL <[readfn]> makes attempts to read the
stream fail.

<[writefn]> should return -1 on failure, or else the number of bytes
written.  It is similar to <<write>>, except that <int> rather than
<size_t> bounds a transaction size, and <[cookie]> will be passed as
the first argument.  A NULL <[writefn]> makes attempts to write the
stream fail.

<[seekfn]> should return (fpos_t)-1 on failure, or else the current
file position.  It is similar to <<lseek>>, except that <[cookie]>
will be passed as the first argument.  A NULL <[seekfn]> makes the
stream behave similarly to a pipe in relation to stdio functions that
require positioning.  This implementation assumes fpos_t and off_t are
the same type.

<[closefn]> should return -1 on failure, or 0 on success.  It is
similar to <<close>>, except that <[cookie]> will be passed as the
first argument.  A NULL <[closefn]> merely flushes all data then lets
<<fclose>> succeed.  A failed close will still invalidate the stream.

Read and write I/O functions are allowed to change the underlying
buffer on fully buffered or line buffered streams by calling
<<setvbuf>>.  They are also not required to completely fill or empty
the buffer.  They are not, however, allowed to change streams from
unbuffered to buffered or to change the state of the line buffering
flag.  They must also be prepared to have read or write calls occur on
buffers other than the one most recently specified.

The functions <<fropen>> and <<fwopen>> are convenience macros around
<<funopen>> that only use the specified callback.

RETURNS
The return value is an open FILE pointer on success.  On error,
<<NULL>> is returned, and <<errno>> will be set to EINVAL if a
function pointer is missing, ENOMEM if the stream cannot be created,
or EMFILE if too many streams are already open.

PORTABILITY
This function is a newlib extension, copying the prototype from BSD.
It is not portable.  See also the <<fopencookie>> interface from Linux.

Supporting OS subroutines required: <<sbrk>>.
*/

#include <stdio.h>
#include <errno.h>
//#include "libc.h" /* musl LOCK/UNLOCK */
/* #include <sys/lock.h> */
/* #include "local.h" */

#define __SRD	0x0004		/* OK to read */
#define __SWR	0x0008		/* OK to write */
#define __SRW	0x0010		/* open for reading & writing */
#define __SL64	0x8000		/* is 64-bit offset large file */

typedef int (*funread)(void *_cookie, char *_buf, int _n);
typedef int (*funwrite)(void *_cookie, const char *_buf, int _n);
#ifdef __LARGE64_FILES
typedef off64_t (*funseek)(void *_cookie, off64_t _off, int _whence);
#else
typedef off_t (*funseek)(void *_cookie, off_t _off, int _whence);
#endif
typedef int (*funclose)(void *_cookie);

typedef struct funcookie {
  void *cookie;
  funread readfn;
  funwrite writefn;
  funseek seekfn;
  funclose closefn;
} funcookie;

static int funreader(void *cookie, char *buf, int n),
{
	int result;
	funcookie *c = (funcookie *) cookie;
	errno = 0;
	if ((result = c->readfn (c->cookie, buf, n)) < 0 && errno)
		return 0;
	return result;
}

static int funwriter(void *cookie, const char *buf, int n)
{
	int result;
	funcookie *c = (funcookie *) cookie;
	errno = 0;
	if ((result = c->writefn (c->cookie, buf, n)) < 0 && errno)
		return 0;
	return result;
}

static off_t
funseeker(void *cookie, off_t off, int whence)
{
	funcookie *c = (funcookie *) cookie;
#ifndef __LARGE64_FILES
	off64_t result;
	errno = 0;
	if ((result = c->seekfn (c->cookie, (off_t) off, whence)) < 0 && errno)
		return 0;
#else /* __LARGE64_FILES */
	off64_t result;
	errno = 0;
	if ((result = c->seekfn (c->cookie, (off64_t) off, whence)) < 0 && errno)
		return 0;
	else if ((off_t)result != result) {
		errno = EOVERFLOW;
		result = -1;
	}
#endif /* __LARGE64_FILES */
	return result;
}

#ifdef __LARGE64_FILES
static off64_t
funseeker64(void *cookie, off64_t off, int whence)
{
	off64_t result;
	funcookie *c = (funcookie *) cookie;
	errno = 0;
	if ((result = c->seekfn (c->cookie, off, whence)) < 0 && errno)
		return 0;
	return result;
}
#endif /* __LARGE64_FILES */

static int funcloser(void *cookie)
{
	int result = 0;
	funcookie *c = (funcookie *) cookie;
	if (c->closefn) {
		errno = 0;
		if ((result = c->closefn (c->cookie)) < 0 && errno)
			return 0;
	}
/* FIXME: ??	_free_r (ptr, c); */
	return result;
}

FILE *funopen(const void *cookie, funread readfn, funwrite writefn,
	funseek seekfn, funclose closefn)
{
	FILE *fp;
	funcookie *c;

	if (!readfn && !writefn) {
		errno = EINVAL;
		return NULL;
	}
/* FIXME:
	if ((fp = __sfp (ptr)) == NULL)
		return NULL;
*/
	if ((c = (funcookie *) malloc(sizeof *c)) == NULL) {
		__sfp_lock_acquire ();
		fp->_flags = 0;		/* release */
#ifndef __SINGLE_THREAD__
		__lock_close_recursive (fp->_lock);
#endif
		__sfp_lock_release ();
		return NULL;
	}

	flockfile (fp); /* flockfile from musl - stdio.h */
	fp->_file = -1;
	c->cookie = (void *) cookie; /* cast away const */
	fp->_cookie = c;
	if (readfn) {
		c->readfn = readfn;
		fp->_read = funreader;
		if (writefn) {
			fp->_flags = __SRW;
			c->writefn = writefn;
			fp->_write = funwriter;
		}
		else {
			fp->_flags = __SRD;
			c->writefn = NULL;
			fp->_write = NULL;
		}
	}
	else {
		fp->_flags = __SWR;
		c->writefn = writefn;
		fp->_write = funwriter;
		c->readfn = NULL;
		fp->_read = NULL;
	}
	c->seekfn = seekfn;
	fp->_seek = seekfn ? funseeker : NULL;
#ifdef __LARGE64_FILES
	fp->_seek64 = seekfn ? funseeker64 : NULL;
	fp->_flags |= __SL64;
#endif
	c->closefn = closefn;
	fp->_close = funcloser;
	funlockfile (fp); /* funlockfile from musl - stdio.h */
	return fp;
}

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: funopen() from BSD
  2012-09-28 21:01 funopen() from BSD Daniel Cegiełka
@ 2012-09-28 21:35 ` Rich Felker
  2012-09-28 22:34   ` Daniel Cegiełka
  0 siblings, 1 reply; 3+ messages in thread
From: Rich Felker @ 2012-09-28 21:35 UTC (permalink / raw)
  To: musl

On Fri, Sep 28, 2012 at 11:01:32PM +0200, Daniel Cegiełka wrote:
> Hi,
> 
> Rich wrote about files/threads locking. I'm trying to implement
> functions funopen() and port it to musl.

A few general comments...

1. musl does not support 32-bit file offsets. All of the 32/64
distinction stuff can be removed. off_t is always 64-bit.

2. The original documentation states that the read/write functions can
call setvbuf on the file to change its buffer. This imposes a huge
restriction on the implementation that's not acceptable to musl. If
that's part of the API, maybe we can look for some kind of workaround
to block attempts to mess with the buffer, but it's hard since legal
buffering changes (i.e. first action after open) should not be
blocked.

3. flockfile/funlockfile are not musl functions, they're POSIX. Since
funopen isn't part of plain ISO C, it's allowable to call them from
funopen stuff, but it's going to impose unnecessary locking. The
locking operations you want are FLOCK() and FUNLOCK() macros in
stdio_impl.h.

I don't see any reason why funopen can't go in, but a little bit of
motivation for why it's needed would be nice since it is mildly messy.

Rich


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: funopen() from BSD
  2012-09-28 21:35 ` Rich Felker
@ 2012-09-28 22:34   ` Daniel Cegiełka
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Cegiełka @ 2012-09-28 22:34 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 1548 bytes --]

2012/9/28 Rich Felker <dalias@aerifal.cx>:

> A few general comments...
>
> 1. musl does not support 32-bit file offsets. All of the 32/64
> distinction stuff can be removed. off_t is always 64-bit.

I noticed, but I left it for sure. Already cleaned...

> 2. The original documentation states that the read/write functions can
> call setvbuf on the file to change its buffer. This imposes a huge
> restriction on the implementation that's not acceptable to musl. If
> that's part of the API, maybe we can look for some kind of workaround
> to block attempts to mess with the buffer, but it's hard since legal
> buffering changes (i.e. first action after open) should not be
> blocked.
>
> 3. flockfile/funlockfile are not musl functions, they're POSIX. Since
> funopen isn't part of plain ISO C, it's allowable to call them from
> funopen stuff, but it's going to impose unnecessary locking. The
> locking operations you want are FLOCK() and FUNLOCK() macros in
> stdio_impl.h.

Corrected.

And how to fix this piece of code:

	if ((fp = __sfp()) == NULL) return NULL;
	if ((c = (funcookie *)malloc(sizeof *c)) == NULL) {
		__sfp_lock_acquire ();
		fp->_flags = 0;		/* release */
#ifndef __SINGLE_THREAD__
		__lock_close_recursive (fp->_lock);
#endif
		__sfp_lock_release ();
		return NULL;
	}

Did I find in musl some equivalent for these functions?
I'm sending a new (clean) version.

Daniel

> I don't see any reason why funopen can't go in, but a little bit of
> motivation for why it's needed would be nice since it is mildly messy.
>
> Rich

[-- Attachment #2: funopen.c --]
[-- Type: text/x-csrc, Size: 2691 bytes --]

/* Copyright (C) 2007 Eric Blake
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

#include <stdio.h>
#include <errno.h>
#include "stdio_impl.h"

#define __SRD	0x0004		/* OK to read */
#define __SWR	0x0008		/* OK to write */
#define __SRW	0x0010		/* open for reading & writing */

typedef int (*funread)(void *_cookie, char *_buf, int _n);
typedef int (*funwrite)(void *_cookie, const char *_buf, int _n);
typedef off_t (*funseek)(void *_cookie, off_t _off, int _whence);
typedef int (*funclose)(void *_cookie);

typedef struct funcookie {
	void *cookie;
	funread readfn;
	funwrite writefn;
	funseek seekfn;
	funclose closefn;
} funcookie;

static int funreader(void *cookie, char *buf, int n),
{
	int result;
	funcookie *c = (funcookie *)cookie;
	errno = 0;
	if ((result = c->readfn(c->cookie, buf, n)) < 0 && errno) return 0;
	return result;
}

static int funwriter(void *cookie, const char *buf, int n)
{
	int result;
	funcookie *c = (funcookie *)cookie;
	errno = 0;
	if ((result = c->writefn(c->cookie, buf, n)) < 0 && errno) return 0;
	return result;
}

static off_t funseeker(void *cookie, off_t off, int whence)
{
	funcookie *c = (funcookie *)cookie;
	off64_t result;
	errno = 0;
	if ((result = c->seekfn(c->cookie, (off_t)off, whence)) < 0 && errno) return 0;
	return result;
}

static int funcloser(void *cookie)
{
	int result = 0;
	funcookie *c = (funcookie *)cookie;
	if (c->closefn) {
		errno = 0;
		if ((result = c->closefn(c->cookie)) < 0 && errno) return 0;
	}
	free(c); /* check it in newlib src to be shure */
	return result;
}

FILE *funopen(const void *cookie, funread readfn, funwrite writefn,
	funseek seekfn, funclose closefn)
{
	FILE *fp;
	funcookie *c;

	if (!readfn && !writefn) {
		errno = EINVAL;
		return NULL;
	}
	if ((fp = __sfp()) == NULL) return NULL;
	if ((c = (funcookie *)malloc(sizeof *c)) == NULL) {
		__sfp_lock_acquire ();
		fp->_flags = 0;		/* release */
#ifndef __SINGLE_THREAD__
		__lock_close_recursive (fp->_lock);
#endif
		__sfp_lock_release ();
		return NULL;
	}

	FLOCK(fp);
	fp->_file = -1;
	c->cookie = (void *)cookie; /* cast away const */
	fp->_cookie = c;
	if (readfn) {
		c->readfn = readfn;
		fp->_read = funreader;
		if (writefn) {
			fp->_flags = __SRW;
			c->writefn = writefn;
			fp->_write = funwriter;
		}
		else {
			fp->_flags = __SRD;
			c->writefn = NULL;
			fp->_write = NULL;
		}
	}
	else {
		fp->_flags = __SWR;
		c->writefn = writefn;
		fp->_write = funwriter;
		c->readfn = NULL;
		fp->_read = NULL;
	}
	c->seekfn = seekfn;
	fp->_seek = seekfn ? funseeker : NULL;
	c->closefn = closefn;
	fp->_close = funcloser;
	FUNLOCK(fp);
	return fp;
}

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-28 22:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 21:01 funopen() from BSD Daniel Cegiełka
2012-09-28 21:35 ` Rich Felker
2012-09-28 22:34   ` Daniel Cegiełka

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).