12-18-2006
Ok, you caught me on violation of rule (14).
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
can we copy files to a dos floppy on a unix system? how?
thanx in advance
raju (2 Replies)
Discussion started by: raju
2 Replies
2. Windows & DOS: Issues & Discussions
Lately I've been trying to fix a 1991 Packard Bell, it's been running fine, but it's eating my memory for fun and taking away my pages. Is it worth my time trying to fix it, and is it possible to put new programs on it? thank you (9 Replies)
Discussion started by: Saz43
9 Replies
3. UNIX for Dummies Questions & Answers
I have navigated every DOS and UNIX FAQ to find the DOS equivalent of the UNIX ps command (ps -f would be even better) but all listings of DOS<>UNIX commands do not have it (they all have the same basic commands listed). DOS must have a way of detecting running processes and TSRs. mem /c is the... (7 Replies)
Discussion started by: dancingfool
7 Replies
4. Windows & DOS: Issues & Discussions
We need to write a dos batch script that does following in order numbered below:
Connect to all UNIX boxes using IP,userid and password from a file.
validate if login was successful
check if there is at least 30mb disk space in the home folder of the user
Check if there are any processes... (3 Replies)
Discussion started by: chandraachii
3 Replies
5. Cybersecurity
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (1 Reply)
Discussion started by: shrb78
1 Replies
6. Windows & DOS: Issues & Discussions
hi eveybody,
i use sco unix as server and dos as client . how i can connect from unix server to dos client ( how to telnet to dos and run commands?)?
thanks. (8 Replies)
Discussion started by: shrb78
8 Replies
7. Linux
Hello ;
I have a problem running some script on dos .
when i run :
C: ls /temp
ls: cannot access /temp: No such file or directory
but when i run
C: ls \temp
windriver backup remotebackup
also when i run
C: ls temp
windriver backup remotebackup
The... (4 Replies)
Discussion started by: mulder20
4 Replies
8. Linux
Dear all, I am trying to write a unix shell with C++ that is similar to Windows command line. I planned to call it Dosh (DOS-sHell).That means you can directly run dos or win32 console programs with it. It will be distributed according to the license g GPL. Any advice? (This is my first c++ program... (3 Replies)
Discussion started by: elgarteo95
3 Replies
9. Cybersecurity
About 3 days ago our Apache logs started filling with the following errors:
mod_ssl: SSL handshake failed (server <weberver>:443, client 41.235.234.172) (OpenSSL library error follows)
OpenSSL: error:1408A0B7:SSL routines:SSL3_GET_CLIENT_HELLO:no ciphers specified
These initially were... (1 Reply)
Discussion started by: ccj4467
1 Replies
10. Windows & DOS: Issues & Discussions
Hello
Where is there a good source to receive an understanding of MS DOS.
I have tried google books " MS DOS ", no luck.
i did try " command prompt " , no luck.
the subject " seems " to be dry. no water flowing in that creek.
what would be good search terms.
I would like to aim towards the... (6 Replies)
Discussion started by: cowLips
6 Replies
MEMSET_S(3) BSD Library Functions Manual MEMSET_S(3)
NAME
memset_s -- copy a value to all bytes of a memory buffer
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#define __STDC_WANT_LIB_EXT1__ 1
#include <string.h>
errno_t
memset_s(void *s, rsize_t smax, int c, rsize_t n);
DESCRIPTION
The memset_s() function copies the value c (converted to an unsigned char) into each of the first n bytes of the memory buffer whose starting
address is given by s.
It is a runtime-consrtaints violation if s is a null pointer, or if either of smax or n is larger than RSIZE_MAX, or if smax is smaller than
n. If there is a runtime-constraints violation, and if s is not a null pointer, and if smax is not larger than RSIZE_MAX, then, before
reporting the runtime-constraints violation, memset_s() copies smax bytes to the destination.
In contrast to the memset(3) function, calls to memset_s() will never be ``optimised away'' by a compiler. This property is required by the
following sentences in section K.3.7.4.1 of ISO/IEC 9899:2011 (``ISO C11''):
Unlike memset(), any call to the memset_s() function shall be evaluated strictly according to the rules of the abstract machine as
described in (5.1.2.3). That is, any call to the memset_s() function shall assume that the memory indicated by s and n may be accessi-
ble in the future and thus must contain the values indicated by c.
RETURN VALUES
The memset_s() function returns zero for success, or a non-zero error code if there was a runtime-constraints violation.
ERRORS
memset_s() returns the following error codes. It does not store the error code in the global errno variable:
[EINVAL] The s argument was a null pointer.
[E2BIG] One or both of smax or n was larger than RSIZE_MAX.
[EOVERFLOW] n was larger than smax.
SEE ALSO
memset(3).
STANDARDS
The memset_s() function conforms to ISO/IEC 9899:2011 (``ISO C11''), except that the set_constraint_handler_s() interface is not supported.
BSD
February 21, 2012 BSD