🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.general
Article #4673

DIRECTORY(3) for SVR2 - (nf)

#4673
From: tim
Date: Mon, 08 Sep 1986 10:35
20 lines
1328 bytes
***********************************************************
		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
Technical Details
Message-ID: <1200002@siedap.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!caip!topaz!husc6!seismo!mcvax!unido!siedap!tim

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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