Displaying 10 results from an estimated 10 matches for "_ionbf".
Did you mean:
_iofbf
2012 May 31
1
klibc 2.0 release
...unused fputc implementation
[klibc] Make __parse_open_mode handle "e" for O_CLOEXEC
[klibc] Move _IO_file_flags from stdio.h to stdioint.h
[klibc] Add zalloc() function
[klibc] Restructure the FILE object to allow simple inlines
[klibc] Fix confusion between _IONBF and _IOFBF
[klibc] Make byte counters in stdio unsigned
[klibc] fflush: discard input data
[klibc] fseek: report error on fflush() failure
[klibc] f[d]open: don't bother setting input buffer
[klibc] Add rewind() function
[klibc] fgets: shave a few bytes off...
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
...EK_CUR, SEEK_END};
static const char *const modenames[] = {"set", "cur", "end", NULL};
@@ -456,8 +471,9 @@ static int f_seek (lua_State *L) {
return 1;
}
}
+#endif
-
+#ifndef NO_F_SETVBUF
static int f_setvbuf (lua_State *L) {
static const int mode[] = {_IONBF, _IOFBF, _IOLBF};
static const char *const modenames[] = {"no", "full", "line", NULL};
@@ -488,8 +504,8 @@ static const luaL_Reg iolib[] = {
{"open", io_open},
{"output", io_output},
{"popen", io_popen},
-#ifndef SYSLINUX
{&...
2000 Mar 16
0
Compilation and solving problem on mips-sony-bsd.
...ion 1.1.1.1
diff -u -r1.1.1.1 getsmbpass.c
--- getsmbpass.c 1999/11/08 05:13:42 1.1.1.1
+++ getsmbpass.c 1999/11/17 00:34:32
@@ -106,7 +106,11 @@
else
out = in;
+#if defined(sony_news) && defined(SYSTYPE_BSD)
+ setbuffer(in, NULL, 0);
+#else
setvbuf(in, NULL, _IONBF, 0);
+#endif
/* Turn echoing off if it is on now. */
--->8------>8------>8------>8------>8------>8------>8------>8---
Of cource, this is dirty because it's very system specific. :)
For the second 'struct utimbuf' problem, I have a question. Why is
HAVE_...
2014 Apr 09
0
[klibc:master] fwrite: use memrchr() to find the final ' \n' in _IOLBF mode
...de) {
case _IOFBF:
pf_len = 0;
- pu_len = count;
break;
case _IOLBF:
- pf_len = count;
- pu_len = 0;
-
- while (pf_len && p[pf_len-1] != '\n') {
- pf_len--;
- pu_len++;
- }
+ q = memrchr(p, '\n', count);
+ pf_len = q ? q - p + 1 : 0;
break;
case _IONBF:
default:
pf_len = count;
- pu_len = 0;
break;
}
@@ -94,6 +88,7 @@ size_t _fwrite(const void *buf, size_t count, FILE *file)
return bytes;
}
+ pu_len = count - pf_len;
if (pu_len)
bytes += fwrite_noflush(p, pu_len, f);
2005 Aug 28
1
monitoring with mrtg
Dear freinds,
The pl script file which is available in the asterisk
monitoring section of the voip-info.com expects
username ,password and host parameters .
Which one we should provied is the acconts we
registered for asterisk or any thing else
your help will be immensely appreciated .
with regards
rk
_______________________________________________________
Too much spam in your inbox?
2012 Jan 13
0
[PATCH 1/1] Ported gnome-ssh-askpass2 to gtk3.
...return (-1);
+}
+
+int
+main(int argc, char **argv)
+{
+ char *message;
+ int result;
+
+ gtk_init(&argc, &argv);
+
+ if (argc > 1) {
+ message = g_strjoinv(" ", argv + 1);
+ } else {
+ message = g_strdup("Enter your OpenSSH passphrase:");
+ }
+
+ setvbuf(stdout, 0, _IONBF, 0);
+ result = passphrase_dialog(message);
+ g_free(message);
+
+ return (result);
+}
--
1.7.8.3
Greetings/Groetjes
Mark Pustjens
--
Words are the litmus paper of the minds. If you find yourself in the power
of someone who will use the word "commence" in cold blood, go somewhere
el...
2007 Nov 22
3
[PATCH] one-time ssh-agent confirmation password
The patch (against 4.7p1) modifies gnome-ssh-askpass to optionally
generate a one-time
password and transmits it to the user via an out-of-band communication
channel. If you can
read the password and enter it back into the gnome-ssh-askpass dialog,
ssh-agent is allowed
to continue with the authentication process.
There are two ways to use the modified gnome-ssh-askpass. The first
2004 Jan 07
1
keystroke logging
>
>
>What do you recommend for keeping track of user
>activities? For preserving bash histories I followed
>these recommendations:
>
>http://www.defcon1.org/secure-command.html
>
Interesting reading but, as others have noted, of limited use.
Keystroke logging can be disabled by - as others have noted - either
spawning another (perhaps different) shell, using a remote
2015 Mar 03
2
openssh-SNAP-20150304 issues
...break;
default:
fprintf(stderr, "Unrecognised command line option\n");
fprintf(stderr, "Usage: %s [-v]\n", __progname);
exit(1);
}
}
setvbuf(stdout, NULL, _IONBF, 0);
if (!quiet_mode)
printf("%s: ", __progname);
if (verbose_mode)
printf("\n");
tests();
if (!quiet_mode)
printf(" %u tests ok\n", test_number);
return 0;
}
const char *
test_d...
2011 Apr 29
0
Wine release 1.3.19
...eTable.
d3dx9: Implement ID3DXMesh::DrawSubset.
Eric Pouech (3):
services: Be sure to unlock the current database in all error cases in service_start_process.
msvcrt: Added tests in fileops with different buffer management modes.
msvcrt: ungetc must create a buffer, even if _IONBF has been set with setvbuf.
Francois Gouget (11):
setupapi: Fix the SetupDiGetActualSectionToInstallEx() definition.
mshtml: get_channelbsc_mon() is unused so remove it.
msi: Move msi_get_cabinet_stream() up and make it static.
d3dx9_36: Make some is_valid_xxx() functions st...