bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some questions about "char *field_buffer(FIELD *field, int buf, con


From: Thomas Dickey
Subject: Re: some questions about "char *field_buffer(FIELD *field, int buf, const char *value)"
Date: Fri, 23 Apr 2010 04:43:48 -0400 (EDT)

On Fri, 23 Apr 2010, jinhai zhang wrote:

Dear,
I have some questions about the function of below

char *field_buffer(FIELD *field,int buf, const  char *value);

The return type of this function is char *,why the length of it is fixed,for
many blank space at the back.

It is fixed for compatibility with the original implementation.

How can i remove these blank space and then assign it to other char *;

You can store extra buffers for each field, and keep track of their length...

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]