Sponsored Content
Special Forums UNIX and Linux Applications ClamAV/other AV. Possible to make portable? Post 302280651 by nixnoob on Tuesday 27th of January 2009 10:39:08 AM
Old 01-27-2009
Are you having a lot of virus issues on your network or are there just random incidents once in a while?

If it's just a random incident once in a while...the portable manual scan idea would be understandable.
 

We Also Found This Discussion For You

1. Shell Programming and Scripting

Script for clamav help

Hi there all, I am writing a script to run clamscan and email me the results, everything is working fine still it comes to mailing me the results. Any and all help is much welcomed. #!/bin/sh # # Script Written by Jonathan Wood # Varables to change mailrecp="mail@home.jwservices.co.nz" ... (4 Replies)
Discussion started by: jonnowood
4 Replies
rand(3UCB)					     SunOS/BSD Compatibility Library Functions						rand(3UCB)

NAME
rand, srand - simple random number generator SYNOPSIS
/usr/ucb/cc[ flag ... ] file ... int rand() int srand( seed); unsigned seed; DESCRIPTION
rand() uses a multiplicative congruential random number generator with period 2**32 to return successive pseudo-random numbers in the range from 0 to "2**31 -1." srand() can be called at any time to reset the random-number generator to a random starting point. The generator is initially seeded with a value of 1. SEE ALSO
drand48(3C), rand(3C), random(3C) NOTES
Use of these interfaces should be restricted to only applications written on BSD platforms. Use of these interfaces with any of the system libraries or in multi-thread applications is unsupported. The spectral properties of rand() leave a great deal to be desired. drand48(3C) and random(3C) provide much better, though more elaborate, random-number generators. The low bits of the numbers generated are not very random; use the middle bits. In particular the lowest bit alternates between 0 and 1. SunOS 5.10 12 Feb 1993 rand(3UCB)
All times are GMT -4. The time now is 05:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy