This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Where is random()?


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@fel.cvut.cz
                            www: http://mujweb.cz/web/tomasek/   
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~H~

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]