Email List: Xaustin-group-lX
[All Lists]

additions to ERN XSH 76

To: yyyyyyyyyyyyyy@xxxxxxxxxxxxx
Subject: additions to ERN XSH 76
From: Ulrich Drepper <yyyyyyy@xxxxxxxxxx>
Date: Wed, 03 Sep 2003 21:42:11 -0700
Organization: Red Hat, Inc.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

At the time when we discussed XSH ERN I was tasked to look for more
functions.  I can now provide some more info.  This is just what I got
from looking at my sources.  Some of the interface need discussion:

No problem adding:

  posix_openpt: has to use open() etc

Most probably OK:

  wordexp: when the shell has to be called with all errors ignored
  file descriptors have to be opened and closed.

  getopt: if opterr != 0 error messages are printed and the stdio
  functions are possible cancellation points

  fmtmsg: input out using stdio and/or read/write

Perhaps OK:

  statvfs/fstatvfs: not all systems implement these as syscalls and
  a userlevel implementation might have to use open/close etc

  sysconf/pathconf/fpathconf: the functions might have to read
  configuration files or retrieve info from the kernel via something
  like a /proc filesystem or sockets

Probably not OK:

  tzset.  An implementation based on ADO's timezone code uses stdio.
  It's problematic since tzset is called implicitly as well (in
  strftime).



There will most probably be a few more interfaces in future.  I try to
get to them asap.

- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/VsKj2ijCOnn/RHQRAtVUAKC7dePkyqfUZEDZm02M8hC+zh1xjwCeMWRV
wn1zACJcE2QBPlsmd/77l0M=
=uYJZ
-----END PGP SIGNATURE-----

<Prev in Thread] Current Thread [Next in Thread>
  • additions to ERN XSH 76, Ulrich Drepper <=