ES2 MUD LIB :: 東方故事二(ES2) 天朝帝國 mudlib 瀏覽展示

/doc/efuns/strcmp

HOME :: doc :: efuns :: strcmp

     ssssttttrrrrccccmmmmpppp((((3333))))              MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))               ssssttttrrrrccccmmmmpppp((((3333))))

     NNNNAAAAMMMMEEEE
          strcmp() - determines the lexical relationship between two
          strings.

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
          int strcmp( string one, string two );

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
          This implementatin of strcmp() is identical to the one found
          in C libraries.  If string one lexically precedes string
          two, then strcmp() returns a number less than 0.  If the two
          strings have the same value, strcmp() returns 0.  If string
          two lexically precedes string one, then strcmp() returns a
          number greater than 0.  This efunction is particularly
          useful in the compare functions needed by sort_array(3).

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
          sort_array(3)

     Page 1                                          (printed 3/16/95)

HOME :: doc :: efuns :: strcmp