07-10-2007
Does your code control the sending of the stop bit? If so then you are sending it too late, send it when the buffer is 50% full, instead of 75% (substitute your own values here).
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear all,
I unable to connect my sun machnie through hyperterminal .
when I am trying , the screen (hyperterminal )shows all the key letters (like !@#$%^ ... 12345.... abcd...ABCD..) but i unable get login screen.
Sun ultra enterprise 3000 / serial port cable 9-9 pin.
can any one... (4 Replies)
Discussion started by: sbaloo
4 Replies
2. UNIX for Advanced & Expert Users
I'm trying to compile and install both most recent version of 'make' and the
most recent version of 'openssh' on my Sparc20.
I've run into the following problems... and I don't know what they mean. Can
someone please help me resolve these issues?
I'm using the 'make' version that was... (5 Replies)
Discussion started by: xyyz
5 Replies
3. UNIX for Dummies Questions & Answers
I am new to Unix. I just got my SUN box from ebay with Solaris supposedly preloaded. The problem is I am unable to connect via Hyperterminal to Solaris, or more to the point, cannot tell if I have a successful connection and that solaris is the one not properly booted up.
I hooked up a null... (3 Replies)
Discussion started by: seethams
3 Replies
4. UNIX for Dummies Questions & Answers
Hi
how can i do this?
1) shell script which writes data and time on to a file if filesystem exceeds 70% of space.
2) make entry to cron table to run a script every 15 mins.
and can anyone expplain or demonstrate the difference between variables used in inside a function and outside a... (3 Replies)
Discussion started by: vivekshankar
3 Replies
5. Solaris
Hi all,
I currently have my WinXP machine connected to my Sun server via serial cable then hyperterminal. I would like to connect my Solaris 10 machine to the server via serial cable but there doesn't appear to be a hyperterminal application included with Solaris 10. Anyone know of a... (3 Replies)
Discussion started by: bad-ash
3 Replies
6. Solaris
Hi All,
I connected my serial connection to the installation of solaris 8 and sorry to tell you I use XP/hyperterminal, don't get mad on me... I might use ubuntu later.
When I'm installing it, it's ask me below:
What type of terminal are you using?
1) ANSI Standard CRT
2) DEC VT52
... (3 Replies)
Discussion started by: itik
3 Replies
7. UNIX for Dummies Questions & Answers
I'm having problems uses "if"
it works fine when i do this.
#!/bin/sh
a= 10
qw= 2
w= 20
{
if && ;then
echo 3
fi
}
However if i try to do
#!/bin/sh
a= 10 (5 Replies)
Discussion started by: THM
5 Replies
8. Solaris
greetings.
im a very new user to solaris (and to servers for that matter) and i need to conect to a t5120 sun server, i tried using the SER-MGT port on the back of the server, then to a rj-45/db-9 adaptor, and to a serial-usb adaptor (my laptop doesn't have a com port).
when i try to conect with... (2 Replies)
Discussion started by: darklilith
2 Replies
9. Solaris
hi
I am new to unix and have found a SPARCstation 5 in the shed. I'm told by my father that it was working when it was put there about 8 years ago.
It seems to boot up and makes all the right noises, both discs appear to make a noise, the keyboard lights flash etc., etc., but i can't seem to get... (2 Replies)
Discussion started by: harrystrickland
2 Replies
LEARN ABOUT DEBIAN
ldns_buffer_reserve
ldns(3) Library Functions Manual ldns(3)
NAME
ldns_buffer_limit, ldns_buffer_set_limit, ldns_buffer_capacity, ldns_buffer_set_capacity, ldns_buffer_reserve, ldns_buffer_at, ldns_buf-
fer_begin, ldns_buffer_end, ldns_buffer_current-
SYNOPSIS
#include <stdint.h>
#include <stdbool.h>
#include <ldns/ldns.h>
size_t ldns_buffer_limit(ldns_buffer *buffer);
void ldns_buffer_set_limit(ldns_buffer *buffer, size_t limit);
size_t ldns_buffer_capacity(ldns_buffer *buffer);
bool ldns_buffer_set_capacity(ldns_buffer *buffer, size_t capacity);
bool ldns_buffer_reserve(ldns_buffer *buffer, size_t amount);
uint8_t * ldns_buffer_at(const ldns_buffer *buffer, size_t at);
uint8_t * ldns_buffer_begin(const ldns_buffer *buffer);
uint8_t * ldns_buffer_end(ldns_buffer *buffer);
uint8_t * ldns_buffer_current(ldns_buffer *buffer);
DESCRIPTION
ldns_buffer_limit() returns the maximum size of the buffer param[in] buffer
Returns the size
ldns_buffer_set_limit() changes the buffer's limit. If the buffer's position is greater than the new limit the position is set to the
limit.
buffer: the buffer
limit: the new limit
ldns_buffer_capacity() returns the number of bytes the buffer can hold.
buffer: the buffer
Returns the number of bytes
ldns_buffer_set_capacity() changes the buffer's capacity. The data is reallocated so any pointers to the data may become invalid. The
buffer's limit is set to the buffer's new capacity.
buffer: the buffer
capacity: the capacity to use
Returns whether this failed or succeeded
ldns_buffer_reserve() ensures BUFFER can contain at least AMOUNT more bytes. The buffer's capacity is increased if necessary using buf-
fer_set_capacity().
The buffer's limit is always set to the (possibly increased) capacity.
buffer: the buffer
amount: amount to use
Returns whether this failed or succeeded
ldns_buffer_at() returns a pointer to the data at the indicated position.
buffer: the buffer
at: position
Returns the pointer to the data
ldns_buffer_begin() returns a pointer to the beginning of the buffer (the data at position 0).
buffer: the buffer
Returns the pointer
ldns_buffer_end() returns a pointer to the end of the buffer (the data at the buffer's limit).
buffer: the buffer
Returns the pointer
ldns_buffer_current() returns a pointer to the data at the buffer's current position.
buffer: the buffer
Returns the pointer
AUTHOR
The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben.
REPORTING BUGS
Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html
COPYRIGHT
Copyright (c) 2004 - 2006 NLnet Labs.
Licensed under the BSD License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
ldns_buffer. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035.
REMARKS
This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl.
30 May 2006 ldns(3)