Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!husc6!seismo!mcvax!unido!siedap!tim From: tim@siedap.UUCP Newsgroups: net.general Subject: DIRECTORY(3) for SVR2 - (nf) Message-ID: <1200002@siedap.UUCP> Date: Mon, 8-Sep-86 06:35:00 EDT Article-I.D.: siedap.1200002 Posted: Mon Sep 8 06:35:00 1986 Date-Received: Wed, 10-Sep-86 01:45:38 EDT Lines: 20 Nf-ID: #N:siedap:1200002:000:823 Nf-From: siedap!tim Sep 8 11:35:00 1986 *********************************************************** This is a reposting. Sorry about the wrong topic - I got not a single reply from net.sources.wanted ! *********************************************************** Does anyone have sources for the Berkeley 'directory(3)' routines (i.e. opendir, readdir etc.) which run under System V ?? This means they must emulate the BSD structure including the d_namlen and d_reclen fields AND terminate the name field with a nullbyte. As far as I can see, one must declare a static struct and move the simpler S V info across, checking the name length. Some people surely have done this, since they're used in EUUG-UUCP (in anlwrk.c for example) so help to save me reinventing the wheel would be greatly appreciated ! Thanks in advance, {...mcvax!unido!} siedap!tim