GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
bl_chrom_name_cmp(3) FreeBSD Library Functions Manual bl_chrom_name_cmp(3)

#include <biolibc/biolibc.h>
-lbiolibc -lxtend

int bl_chrom_name_cmp(const char *name1, const char *name2)

name1, name2    Names of two chroms

Perform a numeric comparison of two chrom names.

The names may contain a prefix of non-digits, such as "chr". Characters that follow must be a chrom number or letter. Numbers are considered less than letters (e.g. 22 < X). As such, if either is a letter, they are compared lexically. If both are numbers, they are converted to integers and compared numerically.

Use bl_chrom_name_cmp() only if you need to know which string is < or >. If only checking for equality/inequality, strcmp() will be faster.

A value < 1 if name1 is numerically < name2 A value > 1 if name1 is numerically > name2 0 if name1 == name2

strcmp(3)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.