Bug 10628 - adding string comparison to tapset
Summary: adding string comparison to tapset
Status: RESOLVED INVALID
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 15:08 UTC by Roland Grunberg
Modified: 2009-09-11 15:09 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Grunberg 2009-09-11 15:08:00 UTC
Wrote a function 'strncmp:long(str1:string, str2:string, n:long)' to compare the
first n characters in a string. This is the function 'int strncmp ( const char *
str1, const char * str2, size_t num )' from the C library 'string.h'.
Comment 1 Roland Grunberg 2009-09-11 15:09:59 UTC
enhancement is possible through other methods, and would not be the ideal place
to start emulating C string functions.