Stoopid question...

Stoopid question...

Post by Stephen Bayn » Tue, 19 Sep 1995 04:00:00



: Silly question here, sorry about that!

: In determining a function name that won't conflict with any system
: functions, is it sufficient enough to do a 'man <function name>'?
NO. [Man pages are not always complete.]
You might try nm /lib/* to get a list of all names in the standard system
librarys. [Then there are things like Xwindows etc.]
If you are resticting yourself to ANSI C then the standard does give you
a set of rules to follow.

: What would be the best way to give a function a unique name without
: duplicating one found in an include file (or a lib file)?

Call things <prefix>_<name> where you pick prefix to be something that is
sensible for you. {Rational - most system functions do not contain an embeded
underscore.} Using different prefixes also stops clashes in your code. We use
a different prefix for each library of software. It also helps tell where
each function came from.

--

Philips Semiconductors Ltd
Southampton                                 My views are my own.
United Kingdom

 
 
 

1. Stoopid question

Tried to update my system to 4.0.1 the other day (from 4.0.0 with the
Rage Pro 128 server from 3.3.6). Hid all the old stuff, installed the
new stuff, ran xf86config. First, there wasn't anything in the card
database about my Rage Pro 128, so I skipped it and let that default
to the VGA driver. But then I started it up, and it set a 320x200 mode
AT 187 Hz VERTICAL, 67 Hz over my maximum of 120 Hz (which was definitely
right in /etc/XF86Config). There were no modelines to play with in the
generated /etc/XF86Config, so I dumped all the code and went back to my
old setup.

Questions:
1. Why no Rage Pro 128 in the database?
2. Why did it choose a vertical frequency over 50% higher than my
    specified maximum of 120 Hz?
3. Is this code "ready for prime time"?

--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   Cliff Sharp   |  Hate spam? Take the Boulder Pledge!                      |
|      WA9PDM     | http://www.zdnet.com/yil/content/mag/9612/ebert9612.html  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

2. drvconfig

3. newbie stoopid question...

4. VxWorks embedded version of Apache?

5. Stoopid newbie question, howto uninstall stuff?

6. CDE & bash shell path issue

7. Stoopid csh jopb control question...

8. Divx for newbie

9. Stoopid Knews Question

10. Stoopid ifconfig question (but I can't find the answer)

11. STOOPID printer question

12. SATAN : I must be stoopid