search for: fwrite

Displaying 20 results from an estimated 370 matches for "fwrite".

Did you mean: write
2011 Aug 01
1
Problems with AMI connections (Asterisk 1.8.3.2)
...168.25.241' unable to authenticate == Manager 'mark' logged on from 192.168.25.241 2. When connected there's a message that appears just before the connection crashes: == Manager 'mark' logged on from 192.168.25.241 [Jul 26 16:29:14] ERROR[1579]: utils.c:1178 ast_careful_fwrite: fwrite() returned error: Broken pipe [Jul 26 16:29:14] ERROR[1579]: utils.c:1178 ast_careful_fwrite: fwrite() returned error: Broken pipe == Manager 'mark' logged off from 192.168.25.241 *This is my manager.conf:* [general] enabled = yes port = 5038 bindaddr = 0.0.0.0 webenabled =...
2008 Nov 24
2
no such file or directory
...UALIFICATION); + FS_LIMIT=(unsigned long)__vmread(EXIT_QUALIFICATION); + FS_AR_BYTES=(unsigned long)__vmread(EXIT_QUALIFICATION); + FS_BASE=(unsigned long)__vmread(EXIT_QUALIFICATION); + CR3=(unsigned long)__vmread(EXIT_QUALIFICATION); + + fp=fopen("/home/a.txt","a+"); + + fwrite(&FS_SELECTOR,sizeof(unsigned long),1,fp); + fwrite(&b,sizeof(char),1,fp); + fwrite(&FS_LIMIT,sizeof(unsigned long),1,fp); + fwrite(&b,sizeof(char),1,fp); + fwrite(&FS_AR_BYTES,sizeof(unsigned long),1,fp); + fwrite(&b,sizeof(char),1,fp); + fwrite(&FS_BASE,sizeof(uns...
2008 Jan 18
1
Automatic call-out problem
Hello! My setup is Asterisk 1.2.26 with Zaptel 1.2.22.1, libpri-1.2.7 on Fedora Core 4. I am making automatic call-out campaign with this setup on 4 PRI. The scripts for this: ==================================================================== caller php script write this to outgoung folder: fwrite($outfile,"Channel: Zap/g1/$phonenumber\n"); fwrite($outfile,"MaxRetries: 0\n"); fwrite($outfile,"RetryTime: 5\n"); fwrite($outfile,"WaitTime: 20\n"); fwrite($outfile,"Context: 0100q\n"); fwrite($outfile,"Callerid: $dbid\n"); fwrite($outfil...
2007 Aug 07
1
.call file and logging
...e would be appreciated. Thanks, Vieri Code snippet: $ftime = time(); $fname = "/tmp/asterisk_".$ftime.".call"; $fname_call = "/var/spool/asterisk/outgoing/asterisk_".$ftime.".call"; $fd = fopen($fname, 'w'); fwrite($fd, "Channel: ".$alerts."\n"); fwrite($fd, "Callerid: IT <7021>\n"); fwrite($fd, "Set: FHMNUM=".$FAILURES."\n"); fwrite($fd, "MaxRetries: 2\n"); fwrite($fd, "RetryTime: 20\n"); fwrit...
2013 Oct 10
2
utils.c: fwrite() returned error: Broken pipe how to solve it ???
...goff\r\n\r\n"; } &asterisk_command("Channel: DAHDI/27/7702009896\r\nExten: s\r\nContext: outbound\r\nCallerID: 20048645\r\nPriority: 1\r\nMaxRetries: 2\r\n"); Whenever i execute that code i'm get following error [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite: fwrite() returned error: Broken pipe [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite: fwrite() returned error: Broken pipe [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite: fwrite() returned error: Broken pipe [Oct 10 15:13:23] ERROR[856]: utils.c:1175 ast_careful_fwrite...
2016 Feb 01
0
[klibc:master] fwrite: flush before a large write to allow better bypass
...http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cf9c7d2382eadc5699d3e4032b3e1774eccc36da Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Mon, 1 Feb 2016 02:39:07 -0800 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Mon, 1 Feb 2016 02:41:00 -0800 [klibc] fwrite: flush before a large write to allow better bypass If we are doing a large write, flush the buffer preemptively, so we don't end up double-buffering a sequence of BUFSIZ writes simply because we started out with something in the buffer. This doesn't increase the number of system calls, si...
2016 Feb 01
0
[klibc:master] fwrite: fix typo in comment
...http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=4d19974d7020488f63651244e1f9f51727c3f66c Author: H. Peter Anvin <hpa at zytor.com> AuthorDate: Mon, 1 Feb 2016 13:26:01 -0800 Committer: H. Peter Anvin <hpa at zytor.com> CommitDate: Mon, 1 Feb 2016 13:26:01 -0800 [klibc] fwrite: fix typo in comment Fix typo in comment, no code change. Reported-by: Gilles Espinasse <g.esp at free.fr> Signed-off-by: H. Peter Anvin <hpa at zytor.com> --- usr/klibc/stdio/fwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/klibc/stdio/fwrite.c b/usr...
2004 Oct 19
1
[PATCH] fix fwrite declaration
fwrite() takes a const void *p, but stdio declares just a void *p. Is there a reason for the difference? diff -p -purN klibc-0.186/include/stdio.h klibc-0.186.fwrite/include/stdio.h --- klibc-0.186/include/stdio.h 2004-07-28 23:09:59.000000000 +0200 +++ klibc-0.186.fwrite/include/stdio.h 2004-10-19 20:0...
2014 Apr 09
0
[klibc:master] fwrite: use memrchr() to find the final ' \n' in _IOLBF mode
...t.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=a51893a6d52a8cdf247cb1bd10dd8987d4d7eb49 Author: H. Peter Anvin <hpa at linux.intel.com> AuthorDate: Wed, 9 Apr 2014 16:51:10 -0700 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Wed, 9 Apr 2014 16:51:10 -0700 [klibc] fwrite: use memrchr() to find the final '\n' in _IOLBF mode In line buffered mode, we need to split the write at the final '\n' (which usually, but not always, is the last character in the string.) Use memrchr() instead of open-coding it. Signed-off-by: H. Peter Anvin <hpa at linux.i...
2016 May 17
2
Syslinux fwrite support
Hi Does Syslinux support fwrite for fat filesystem?Is it supported for other filesystem?As far as I understand the function exist but isn't fully implemented.Is that correct? I also found this thread that says about the samehttp://www.syslinux.org/archives/2011-August/017093.html Thanks,Tal
2016 May 21
2
Syslinux fwrite support
> -----Original Message----- > From: Gene Cumm [mailto:gene.cumm at gmail.com] > Sent: Tuesday, May 17, 2016 1:07 PM > To: Tal Lubko > Cc: syslinux at zytor.com > Subject: Re: [syslinux] Syslinux fwrite support > > On Tue, May 17, 2016 at 2:39 AM, Tal Lubko via Syslinux > <syslinux at zytor.com> wrote: > > Hi > > Does Syslinux support fwrite for fat filesystem?Is it supported for > other filesystem?As far as I understand the function exist but isn't > fully im...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...fo->audio_only){ + theora_encode_header (&info->td, &info->op); + ogg_stream_packetin (&info->to, &info->op); + if (ogg_stream_pageout (&info->to, &info->og) != 1){ fprintf (stderr, "Internal Ogg library error.\n"); exit (1); } - fwrite (info.og.header, 1, info.og.header_len, info.outfile); - fwrite (info.og.body, 1, info.og.body_len, info.outfile); + fwrite (info->og.header, 1, info->og.header_len, info->outfile); + fwrite (info->og.body, 1, info->og.body_len, info->outfile); /* create the remaining theo...
2008 Jun 13
1
String "fwrite();" causes 503 error (Passenger or apache?)
Hi, While testing a rails application on DreamHost (mod_rails), I found a really weird problem. If I submit form data which includes "fwrite();" (with semi-colon but without quotes), I get 503 error (Server temporarily unavailable). I checked out rails log file and it didn''t even reach the rails app. I assume the error was from web server. You may test this at http://test.codepremise.com/posts . Just add or edit a row and...
2016 May 23
3
Syslinux fwrite support
> -----Original Message----- > From: Gene Cumm [mailto:gene.cumm at gmail.com] > Sent: Saturday, May 21, 2016 4:44 PM > To: Tal Lubko > Cc: For discussion of Syslinux and tftp-hpa > Subject: Re: [syslinux] Syslinux fwrite support > > On Fri, May 20, 2016 at 11:14 PM, Tal Lubko <tallubko at yahoo.com> wrote: > > > > > >> -----Original Message----- > >> From: Gene Cumm [mailto:gene.cumm at gmail.com] > >> Sent: Tuesday, May 17, 2016 1:07 PM > >> To: Tal Lubk...
2017 Oct 02
2
fwrite() not found in data.table package
Hi all, I used to use fwrite() function in data.table but I cannot get it to work now. The function is not in the data.table package, even though a help page exists for it. My session info is below. Any ideas on how to get fwrite() to work would be much appreciated. Thanks! > sessionInfo() R version 3.2.0 (2015-04-16) Plat...
2016 May 21
0
Syslinux fwrite support
...PM, Tal Lubko <tallubko at yahoo.com> wrote: > > >> -----Original Message----- >> From: Gene Cumm [mailto:gene.cumm at gmail.com] >> Sent: Tuesday, May 17, 2016 1:07 PM >> To: Tal Lubko >> Cc: syslinux at zytor.com >> Subject: Re: [syslinux] Syslinux fwrite support >> >> On Tue, May 17, 2016 at 2:39 AM, Tal Lubko via Syslinux >> <syslinux at zytor.com> wrote: >> > Hi >> > Does Syslinux support fwrite for fat filesystem?Is it supported for >> other filesystem?As far as I understand the function exist but...
2017 Oct 02
0
fwrite() not found in data.table package
...a reproducible example (check it with package reprex) and try again here, or ask one of the maintainers of that package. -- Sent from my phone. Please excuse my brevity. On October 2, 2017 8:56:46 AM PDT, Matthew Keller <mckellercran at gmail.com> wrote: >Hi all, > >I used to use fwrite() function in data.table but I cannot get it to >work >now. The function is not in the data.table package, even though a help >page >exists for it. My session info is below. Any ideas on how to get >fwrite() >to work would be much appreciated. Thanks! > >> sessionInfo() &...
2016 May 17
0
Syslinux fwrite support
On Tue, May 17, 2016 at 2:39 AM, Tal Lubko via Syslinux <syslinux at zytor.com> wrote: > Hi > Does Syslinux support fwrite for fat filesystem?Is it supported for other filesystem?As far as I understand the function exist but isn't fully implemented.Is that correct? > I also found this thread that says about the samehttp://www.syslinux.org/archives/2011-August/017093.html > Thanks,Tal At this time, writing sh...
2011 Aug 01
1
fwrite?
Is there a known problem with fopen and/or fwrite in Syslinux? I'm trying to open a file to write data to but fopen( file_name, "w+" ) fails everytime. fopen( file_name, "r" ) works just fine.
2013 Nov 27
20
[PATCH 0/4] efi: PE header generation fix
The PE headers of the generated efi file were quite buggy. And since OVMF perform a few consistency checks, syslinux was unable to run on it. I don't pretend to have a thorough understanding of the PE+ headers, some bugs may remain. :) Celelibi (4): efi: Fix PE header field rva_and_sizes_nr efi: Location, size and alignment of .text section efi: Useless relocations in PE file efi: PE