Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

xdiff_file_bdiff_size(3) [php man page]

XDIFF_FILE_BDIFF_SIZE(3)						 1						  XDIFF_FILE_BDIFF_SIZE(3)

xdiff_file_bdiff_size - Read a size of file created by applying a binary diff

SYNOPSIS
int xdiff_file_bdiff_size (string $file) DESCRIPTION
Returns a size of a result file that would be created after applying binary patch from file $file to the original file. PARAMETERS
o $file - The path to the binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function. RETURN VALUES
Returns the size of file that would be created. EXAMPLES
Example #1 xdiff_file_bdiff_size(3) example The following code applies reads a size of file that would be created after applying a binary diff. <?php $length = xdiff_string_bdiff_size('file.bdiff'); echo "Resulting file will be $length bytes long"; ?> SEE ALSO
xdiff_file_bdiff(3), xdiff_file_rabdiff(3), xdiff_file_bpatch(3). PHP Documentation Group XDIFF_FILE_BDIFF_SIZE(3)

Check Out this Related Man Page

XDIFF_STRING_BDIFF_SIZE(3)						 1						XDIFF_STRING_BDIFF_SIZE(3)

xdiff_string_bdiff_size - Read a size of file created by applying a binary diff

SYNOPSIS
int xdiff_string_bdiff_size (string $patch) DESCRIPTION
Returns a size of a result file that would be created after applying binary $patch to the original file. PARAMETERS
o $patch - The binary patch created by xdiff_string_bdiff(3) or xdiff_string_rabdiff(3) function. RETURN VALUES
Returns the size of file that would be created. EXAMPLES
Example #1 xdiff_string_bdiff_size(3) example The following code applies reads a size of file that would be created after applying a binary diff. <?php $binary_patch = file_get_contents('file.bdiff'); $length = xdiff_string_bdiff_size($binary_patch); echo "Resulting file will be $length bytes long"; ?> SEE ALSO
xdiff_string_bdiff(3), xdiff_string_rabdiff(3), xdiff_string_bpatch(3). PHP Documentation Group XDIFF_STRING_BDIFF_SIZE(3)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

instead of psftp?

psftp binary size is about to 300K and I need a smaller one. anyone suggests any idea? (4 Replies)
Discussion started by: zoque
4 Replies

2. Solaris

What kind of steps should be followed while applying patch in real time?

Hi, As in the solaris material i know that the patch is added through the command "patchadd <patch no.>". But i need to know, what are all the steps we have to follow while applying a patch in a production server. My friend says that we have to detach mirror before applying patch and not... (6 Replies)
Discussion started by: Sesha
6 Replies

3. AIX

applying patches in aix 5.3

Hi Admins, Basically i am HPUX guy.HP will release patch bundles every three months and the same we are applying on servers as proactive steps. Please let me know how it happens with AIX. My servers are AIX 5.3 with TL 10 and some are TL 7. These servers are installed 2 years back and... (1 Reply)
Discussion started by: newaix
1 Replies

4. UNIX for Dummies Questions & Answers

Who created a file?

Hi!Can somebody tell me what command can I use to find who created a file,please? (6 Replies)
Discussion started by: teotrask
6 Replies

5. UNIX for Dummies Questions & Answers

Typical steps to be followed while applying an application patch upgrade on linux

what are the typical steps used by system adminstrators while applying an application patch upgrade (1 Reply)
Discussion started by: ramky79
1 Replies