TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Wes Garland
from: Bo Simonsen
date: 2003-06-22 23:53:22
subject: fconf2maximus

Hello Wes!

22 Jun 03 15:10, you wrote to me:

 BS>> Oh that's quite nice, it's in section 1.

 WG> I just checked my linux box to make sure. Getopt in section 1 is some
 WG> kind of freaky Linux getopt for shell scripts. (section 1 is command
 WG> line programs; like section 1M under SVR4). You want the getopt in
 WG> section 3, it's a C function.

DOH!  :)

 BS>> Somekind of semaphore?

 WG> Close enough; the functionaity is atomic across processes (and across
 WG> machines if you are runing nfs.lockd). The version I wrote for
 WG> -lcompat might not be atomic across threads; I'd have to think about
 WG> that for a minute. If you have a moment, you should grep the 'net for
 WG> "advisory file locking".

Hmm.. i'll look at it.

 BS>> Oh ok :) That's real multiuser programming :)

 WG> Remember, under UNIX, *all* programming should be treated as
 WG> multi-user programming: otherwise you *will* eventually get bit in the
 WG> ass -- if not by another user, then by a cron job, runbbs.sh, etc.

Exactly, Single user programming is for DOS/Windows :)

Regards,
Bo

--- GoldED+/LNX 1.1.5
* Origin: The Night Express * Roennede DK * telnet geekworld.dk (2:236/100)
SEEN-BY: 633/267 270
@PATH: 236/100 237/9 20/11 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.