delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/14/17:09:01

From: xtomasej AT fel DOT cvut DOT cz (Jan Tomasek)
Subject: Where is random()?
14 Dec 1998 17:09:01 -0800 :
Message-ID: <3673E58E.93F1B604.cygnus.gnu-win32@fel.cvut.cz>
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Hi,
I'm writing one school project in C and at home I working
under CygWin 19.2 

On my Linux (Debian) is on random() man page writen that it is in
defined in stdlib.h
 * if I compile it with gcc on that linux all is ok
 * if I compile it with Cygnus gcc port I get warning:

In file included from sftpx.c:11:
ftpx.c:9: warning: implicit declaration of function `random'

Program is working correctly, I thing that random is hiden in
some .a library.

Does someone here known where is random definition?

Thanks
-- 
                            Jan Tomasek,          student FEL-CVUT
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                            e-mail: xtomasej AT fel DOT cvut DOT cz
                            www: http://mujweb.cz/web/tomasek/   
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~H~

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019