glib2 0.90.8-x86-mingw32 → 0.90.9-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +46 -0
- data/Rakefile +1 -0
- data/ext/glib2/rbglib.h +1 -1
- data/ext/glib2/rbglib_iochannel.c +15 -6
- data/ext/glib2/rbgobj_signal.c +1 -1
- data/ext/glib2/rbgobject.h +1 -1
- data/lib/1.8/glib2.so +0 -0
- data/lib/1.9/glib2.so +0 -0
- data/lib/gnome2-raketask.rb +3 -2
- data/lib/mkmf-gnome2.rb +47 -23
- data/test/glib-test-init.rb +1 -3
- data/vendor/local/bin/glib-genmarshal.exe +0 -0
- data/vendor/local/bin/glib-gettextize +2 -2
- data/vendor/local/bin/glib-mkenums +3 -2
- data/vendor/local/bin/gobject-query.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper-console.exe +0 -0
- data/vendor/local/bin/gspawn-win32-helper.exe +0 -0
- data/vendor/local/bin/libgio-2.0-0.dll +0 -0
- data/vendor/local/bin/libglib-2.0-0.dll +0 -0
- data/vendor/local/bin/libgmodule-2.0-0.dll +0 -0
- data/vendor/local/bin/libgobject-2.0-0.dll +0 -0
- data/vendor/local/bin/libgthread-2.0-0.dll +0 -0
- data/vendor/local/include/glib-2.0/gio/gaction.h +91 -0
- data/vendor/local/include/glib-2.0/gio/gactiongroup.h +151 -0
- data/vendor/local/include/glib-2.0/gio/gappinfo.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gapplication.h +165 -0
- data/vendor/local/include/glib-2.0/gio/gapplicationcommandline.h +118 -0
- data/vendor/local/include/glib-2.0/gio/gasyncresult.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gcancellable.h +2 -0
- data/vendor/local/include/glib-2.0/gio/gemblemedicon.h +15 -0
- data/vendor/local/include/glib-2.0/gio/gfileenumerator.h +2 -2
- data/vendor/local/include/glib-2.0/gio/gfileinputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileiostream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfilemonitor.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gfileoutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gio.h +14 -0
- data/vendor/local/include/glib-2.0/gio/gioenums.h +158 -2
- data/vendor/local/include/glib-2.0/gio/gioenumtypes.h +12 -0
- data/vendor/local/include/glib-2.0/gio/giomodule.h +1 -1
- data/vendor/local/include/glib-2.0/gio/giostream.h +11 -0
- data/vendor/local/include/glib-2.0/gio/giotypes.h +48 -0
- data/vendor/local/include/glib-2.0/gio/goutputstream.h +1 -1
- data/vendor/local/include/glib-2.0/gio/gpollableinputstream.h +101 -0
- data/vendor/local/include/glib-2.0/gio/gpollableoutputstream.h +98 -0
- data/vendor/local/include/glib-2.0/gio/gsettings.h +9 -2
- data/vendor/local/include/glib-2.0/gio/gsettingsbackend.h +6 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleaction.h +95 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleactiongroup.h +87 -0
- data/vendor/local/include/glib-2.0/gio/gsimpleasyncresult.h +11 -1
- data/vendor/local/include/glib-2.0/gio/gsocketclient.h +7 -0
- data/vendor/local/include/glib-2.0/gio/gtcpwrapperconnection.h +68 -0
- data/vendor/local/include/glib-2.0/gio/gtlsbackend.h +92 -0
- data/vendor/local/include/glib-2.0/gio/gtlscertificate.h +83 -0
- data/vendor/local/include/glib-2.0/gio/gtlsclientconnection.h +72 -0
- data/vendor/local/include/glib-2.0/gio/gtlsconnection.h +136 -0
- data/vendor/local/include/glib-2.0/gio/gtlsserverconnection.h +61 -0
- data/vendor/local/include/glib-2.0/glib/glist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gmain.h +27 -6
- data/vendor/local/include/glib-2.0/glib/gmarkup.h +80 -5
- data/vendor/local/include/glib-2.0/glib/grand.h +1 -1
- data/vendor/local/include/glib-2.0/glib/gsequence.h +8 -0
- data/vendor/local/include/glib-2.0/glib/gslist.h +2 -0
- data/vendor/local/include/glib-2.0/glib/gtimezone.h +37 -0
- data/vendor/local/include/glib-2.0/glib/gtypes.h +1 -0
- data/vendor/local/include/glib-2.0/glib/gunicode.h +22 -16
- data/vendor/local/include/glib-2.0/glib/gutils.h +5 -0
- data/vendor/local/include/glib-2.0/glib/gvariant.h +35 -11
- data/vendor/local/include/glib-2.0/gobject/gobject.h +15 -0
- data/vendor/local/include/glib-2.0/gobject/gsignal.h +5 -0
- data/vendor/local/include/glib-2.0/gobject/gsourceclosure.h +4 -2
- data/vendor/local/include/glib-2.0/gobject/gtypemodule.h +1 -1
- data/vendor/local/lib/gio-2.0.def +142 -0
- data/vendor/local/lib/gio-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0.def +21 -0
- data/vendor/local/lib/glib-2.0.lib +0 -0
- data/vendor/local/lib/glib-2.0/include/glibconfig.h +1 -1
- data/vendor/local/lib/gmodule-2.0.lib +0 -0
- data/vendor/local/lib/gobject-2.0.def +3 -0
- data/vendor/local/lib/gobject-2.0.lib +0 -0
- data/vendor/local/lib/gthread-2.0.lib +0 -0
- data/vendor/local/lib/libgio-2.0.dll.a +0 -0
- data/vendor/local/lib/libglib-2.0.dll.a +0 -0
- data/vendor/local/lib/libgmodule-2.0.dll.a +0 -0
- data/vendor/local/lib/libgobject-2.0.dll.a +0 -0
- data/vendor/local/lib/libgthread-2.0.dll.a +0 -0
- data/vendor/local/lib/pkgconfig/gio-2.0.pc +2 -2
- data/vendor/local/lib/pkgconfig/gio-windows-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/glib-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gobject-2.0.pc +1 -1
- data/vendor/local/lib/pkgconfig/gthread-2.0.pc +1 -1
- data/vendor/local/manifest/{glib-dev_2.26.1-1_win32.mft → glib-dev_2.28.1-1_win32.mft} +55 -19
- data/vendor/local/manifest/{glib_2.26.1-1_win32.mft → glib_2.28.1-1_win32.mft} +3 -2
- data/vendor/local/share/aclocal/glib-2.0.m4 +4 -4
- data/vendor/local/share/doc/{glib-2.26.1 → glib-2.28.1}/COPYING +0 -0
- data/vendor/local/share/doc/{glib-dev-2.26.1 → glib-dev-2.28.1}/COPYING +0 -0
- data/vendor/local/share/glib-2.0/gettext/mkinstalldirs +72 -21
- data/vendor/local/share/glib-2.0/schemas/gschema.dtd +21 -8
- data/vendor/local/share/gtk-doc/html/gio/GAction.html +469 -0
- data/vendor/local/share/gtk-doc/html/gio/GActionGroup.html +754 -0
- data/vendor/local/share/gtk-doc/html/gio/GAppInfo.html +296 -249
- data/vendor/local/share/gtk-doc/html/gio/GApplication.html +1458 -0
- data/vendor/local/share/gtk-doc/html/gio/GApplicationCommandLine.html +815 -0
- data/vendor/local/share/gtk-doc/html/gio/GAsyncInitable.html +61 -97
- data/vendor/local/share/gtk-doc/html/gio/GAsyncResult.html +31 -38
- data/vendor/local/share/gtk-doc/html/gio/GBufferedInputStream.html +52 -68
- data/vendor/local/share/gtk-doc/html/gio/GBufferedOutputStream.html +38 -50
- data/vendor/local/share/gtk-doc/html/gio/GCancellable.html +120 -77
- data/vendor/local/share/gtk-doc/html/gio/GCharsetConverter.html +26 -34
- data/vendor/local/share/gtk-doc/html/gio/GConverter.html +49 -51
- data/vendor/local/share/gtk-doc/html/gio/GCredentials.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/GDBusAuthObserver.html +26 -35
- data/vendor/local/share/gtk-doc/html/gio/GDBusConnection.html +415 -650
- data/vendor/local/share/gtk-doc/html/gio/{gio-GDBusError.html → GDBusError.html} +118 -147
- data/vendor/local/share/gtk-doc/html/gio/GDBusMessage.html +204 -347
- data/vendor/local/share/gtk-doc/html/gio/GDBusMethodInvocation.html +66 -111
- data/vendor/local/share/gtk-doc/html/gio/GDBusProxy.html +210 -309
- data/vendor/local/share/gtk-doc/html/gio/GDBusServer.html +68 -87
- data/vendor/local/share/gtk-doc/html/gio/GDataInputStream.html +190 -232
- data/vendor/local/share/gtk-doc/html/gio/GDataOutputStream.html +89 -118
- data/vendor/local/share/gtk-doc/html/gio/GDrive.html +196 -270
- data/vendor/local/share/gtk-doc/html/gio/GEmblem.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GEmblemedIcon.html +56 -24
- data/vendor/local/share/gtk-doc/html/gio/GFile.html +1090 -1443
- data/vendor/local/share/gtk-doc/html/gio/GFileDescriptorBased.html +13 -16
- data/vendor/local/share/gtk-doc/html/gio/GFileEnumerator.html +66 -86
- data/vendor/local/share/gtk-doc/html/gio/GFileIOStream.html +31 -45
- data/vendor/local/share/gtk-doc/html/gio/GFileIcon.html +19 -21
- data/vendor/local/share/gtk-doc/html/gio/GFileInfo.html +466 -602
- data/vendor/local/share/gtk-doc/html/gio/GFileInputStream.html +32 -40
- data/vendor/local/share/gtk-doc/html/gio/GFileMonitor.html +60 -59
- data/vendor/local/share/gtk-doc/html/gio/GFileOutputStream.html +32 -47
- data/vendor/local/share/gtk-doc/html/gio/GFilenameCompleter.html +37 -45
- data/vendor/local/share/gtk-doc/html/gio/GFilterInputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GFilterOutputStream.html +22 -26
- data/vendor/local/share/gtk-doc/html/gio/GIOModule.html +32 -38
- data/vendor/local/share/gtk-doc/html/gio/GIOStream.html +184 -52
- data/vendor/local/share/gtk-doc/html/gio/GIcon.html +45 -54
- data/vendor/local/share/gtk-doc/html/gio/GInetAddress.html +96 -125
- data/vendor/local/share/gtk-doc/html/gio/GInetSocketAddress.html +21 -25
- data/vendor/local/share/gtk-doc/html/gio/GInitable.html +49 -71
- data/vendor/local/share/gtk-doc/html/gio/GInputStream.html +102 -134
- data/vendor/local/share/gtk-doc/html/gio/GLoadableIcon.html +43 -54
- data/vendor/local/share/gtk-doc/html/gio/GMemoryInputStream.html +21 -24
- data/vendor/local/share/gtk-doc/html/gio/GMemoryOutputStream.html +34 -41
- data/vendor/local/share/gtk-doc/html/gio/GMount.html +223 -294
- data/vendor/local/share/gtk-doc/html/gio/GMountOperation.html +127 -153
- data/vendor/local/share/gtk-doc/html/gio/GNetworkAddress.html +35 -46
- data/vendor/local/share/gtk-doc/html/gio/GNetworkService.html +37 -46
- data/vendor/local/share/gtk-doc/html/gio/GOutputStream.html +138 -174
- data/vendor/local/share/gtk-doc/html/gio/GPermission.html +46 -68
- data/vendor/local/share/gtk-doc/html/gio/GPollableInputStream.html +398 -0
- data/vendor/local/share/gtk-doc/html/gio/GPollableOutputStream.html +340 -0
- data/vendor/local/share/gtk-doc/html/gio/GProxy.html +89 -32
- data/vendor/local/share/gtk-doc/html/gio/GProxyAddress.html +42 -56
- data/vendor/local/share/gtk-doc/html/gio/GProxyResolver.html +59 -34
- data/vendor/local/share/gtk-doc/html/gio/GResolver.html +82 -95
- data/vendor/local/share/gtk-doc/html/gio/GSeekable.html +58 -72
- data/vendor/local/share/gtk-doc/html/gio/GSettings.html +597 -357
- data/vendor/local/share/gtk-doc/html/gio/GSettingsBackend.html +125 -75
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAction.html +339 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleActionGroup.html +200 -0
- data/vendor/local/share/gtk-doc/html/gio/GSimpleAsyncResult.html +232 -167
- data/vendor/local/share/gtk-doc/html/gio/GSimplePermission.html +15 -16
- data/vendor/local/share/gtk-doc/html/gio/GSocket.html +291 -406
- data/vendor/local/share/gtk-doc/html/gio/GSocketAddress.html +39 -45
- data/vendor/local/share/gtk-doc/html/gio/GSocketClient.html +301 -223
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnectable.html +41 -44
- data/vendor/local/share/gtk-doc/html/gio/GSocketConnection.html +41 -49
- data/vendor/local/share/gtk-doc/html/gio/GSocketControlMessage.html +22 -32
- data/vendor/local/share/gtk-doc/html/gio/GSocketListener.html +88 -107
- data/vendor/local/share/gtk-doc/html/gio/GSocketService.html +26 -32
- data/vendor/local/share/gtk-doc/html/gio/{gio-GSrvTarget.html → GSrvTarget.html} +74 -77
- data/vendor/local/share/gtk-doc/html/gio/GTcpConnection.html +21 -22
- data/vendor/local/share/gtk-doc/html/gio/GTcpWrapperConnection.html +156 -0
- data/vendor/local/share/gtk-doc/html/gio/GThemedIcon.html +40 -46
- data/vendor/local/share/gtk-doc/html/gio/GThreadedSocketService.html +29 -35
- data/vendor/local/share/gtk-doc/html/gio/GTlsBackend.html +260 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsCertificate.html +396 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsClientConnection.html +428 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsConnection.html +869 -0
- data/vendor/local/share/gtk-doc/html/gio/GTlsServerConnection.html +158 -0
- data/vendor/local/share/gtk-doc/html/gio/GUnixConnection.html +32 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixCredentialsMessage.html +28 -34
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDList.html +44 -54
- data/vendor/local/share/gtk-doc/html/gio/GUnixFDMessage.html +36 -41
- data/vendor/local/share/gtk-doc/html/gio/GUnixInputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixOutputStream.html +35 -32
- data/vendor/local/share/gtk-doc/html/gio/GUnixSocketAddress.html +59 -67
- data/vendor/local/share/gtk-doc/html/gio/GVfs.html +49 -57
- data/vendor/local/share/gtk-doc/html/gio/GVolume.html +142 -187
- data/vendor/local/share/gtk-doc/html/gio/GVolumeMonitor.html +99 -132
- data/vendor/local/share/gtk-doc/html/gio/GZlibCompressor.html +33 -32
- data/vendor/local/share/gtk-doc/html/gio/GZlibDecompressor.html +22 -24
- data/vendor/local/share/gtk-doc/html/gio/annotation-glossary.html +43 -13
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-18.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-20.html +10 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-22.html +20 -20
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-24.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-26.html +36 -28
- data/vendor/local/share/gtk-doc/html/gio/api-index-2-28.html +744 -0
- data/vendor/local/share/gtk-doc/html/gio/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/api-index-full.html +915 -107
- data/vendor/local/share/gtk-doc/html/gio/application.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/async.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/ch02.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/ch03.html +23 -24
- data/vendor/local/share/gtk-doc/html/gio/ch26.html +54 -36
- data/vendor/local/share/gtk-doc/html/gio/ch27.html +188 -41
- data/vendor/local/share/gtk-doc/html/gio/ch27s02.html +19 -108
- data/vendor/local/share/gtk-doc/html/gio/ch27s03.html +16 -179
- data/vendor/local/share/gtk-doc/html/gio/ch28.html +57 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch26s02.html → ch28s02.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s03.html → ch28s03.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s04.html → ch28s04.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s05.html → ch28s05.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/{ch26s06.html → ch28s06.html} +17 -15
- data/vendor/local/share/gtk-doc/html/gio/{ch26s07.html → ch28s07.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/ch29.html +70 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s02.html +130 -0
- data/vendor/local/share/gtk-doc/html/gio/ch29s03.html +202 -0
- data/vendor/local/share/gtk-doc/html/gio/{ch27s04.html → ch29s04.html} +11 -11
- data/vendor/local/share/gtk-doc/html/gio/{ch27s05.html → ch29s05.html} +12 -12
- data/vendor/local/share/gtk-doc/html/gio/{ch27s06.html → ch29s06.html} +10 -10
- data/vendor/local/share/gtk-doc/html/gio/conversion.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/extending-gio.html +27 -14
- data/vendor/local/share/gtk-doc/html/gio/extending.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/failable_initialization.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_mon.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/file_ops.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-convenience.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/gdbus-lowlevel.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/gdbus.html +18 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Addresses.html +39 -62
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Introspection-Data.html +141 -248
- data/vendor/local/share/gtk-doc/html/gio/gio-D-Bus-Utilities.html +28 -40
- data/vendor/local/share/gtk-doc/html/gio/gio-Desktop-file-based-GAppInfo.html +29 -112
- data/vendor/local/share/gtk-doc/html/gio/gio-Extension-Points.html +45 -57
- data/vendor/local/share/gtk-doc/html/gio/gio-GContentType.html +58 -68
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterInputstream.html +16 -18
- data/vendor/local/share/gtk-doc/html/gio/gio-GConverterOutputstream.html +18 -20
- data/vendor/local/share/gtk-doc/html/gio/gio-GFileAttribute.html +82 -76
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOError.html +34 -28
- data/vendor/local/share/gtk-doc/html/gio/gio-GIOScheduler.html +25 -33
- data/vendor/local/share/gtk-doc/html/gio/gio-Owning-Bus-Names.html +87 -113
- data/vendor/local/share/gtk-doc/html/gio/gio-TLS-Overview.html +287 -0
- data/vendor/local/share/gtk-doc/html/gio/gio-Unix-Mounts.html +119 -151
- data/vendor/local/share/gtk-doc/html/gio/gio-Watching-Bus-Names.html +62 -95
- data/vendor/local/share/gtk-doc/html/gio/gio-hierarchy.html +66 -6
- data/vendor/local/share/gtk-doc/html/gio/gio-querymodules.html +8 -8
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp +312 -91
- data/vendor/local/share/gtk-doc/html/gio/gio.devhelp2 +386 -133
- data/vendor/local/share/gtk-doc/html/gio/glib-compile-schemas.html +12 -12
- data/vendor/local/share/gtk-doc/html/gio/gsettings-tool.html +162 -0
- data/vendor/local/share/gtk-doc/html/gio/highlevel-socket.html +7 -4
- data/vendor/local/share/gtk-doc/html/gio/icons.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/index.html +88 -36
- data/vendor/local/share/gtk-doc/html/gio/index.sgml +506 -95
- data/vendor/local/share/gtk-doc/html/gio/migrating.html +23 -23
- data/vendor/local/share/gtk-doc/html/gio/networking.html +3 -3
- data/vendor/local/share/gtk-doc/html/gio/permissions.html +5 -5
- data/vendor/local/share/gtk-doc/html/gio/pt01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/pt02.html +68 -17
- data/vendor/local/share/gtk-doc/html/gio/resolver.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/settings.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/streaming.html +9 -3
- data/vendor/local/share/gtk-doc/html/gio/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gio/tls.html +50 -0
- data/vendor/local/share/gtk-doc/html/gio/tools.html +4 -4
- data/vendor/local/share/gtk-doc/html/gio/types.html +6 -6
- data/vendor/local/share/gtk-doc/html/gio/utils.html +7 -7
- data/vendor/local/share/gtk-doc/html/gio/volume_mon.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/annotation-glossary.html +8 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-10.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-16.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-18.html +4 -4
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-20.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-26.html +25 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-28.html +112 -0
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-4.html +6 -6
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-6.html +15 -11
- data/vendor/local/share/gtk-doc/html/glib/api-index-2-8.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-deprecated.html +9 -5
- data/vendor/local/share/gtk-doc/html/glib/api-index-full.html +201 -89
- data/vendor/local/share/gtk-doc/html/glib/glib-Arrays.html +144 -210
- data/vendor/local/share/gtk-doc/html/glib/glib-Asynchronous-Queues.html +97 -136
- data/vendor/local/share/gtk-doc/html/glib/glib-Atomic-Operations.html +40 -58
- data/vendor/local/share/gtk-doc/html/glib/glib-Automatic-String-Completion.html +99 -128
- data/vendor/local/share/gtk-doc/html/glib/glib-Balanced-Binary-Trees.html +104 -155
- data/vendor/local/share/gtk-doc/html/glib/glib-Base64-Encoding.html +42 -71
- data/vendor/local/share/gtk-doc/html/glib/glib-Basic-Types.html +40 -43
- data/vendor/local/share/gtk-doc/html/glib/glib-Bookmark-file-parser.html +224 -314
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Arrays.html +104 -142
- data/vendor/local/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html +193 -308
- data/vendor/local/share/gtk-doc/html/glib/glib-Caches.html +51 -76
- data/vendor/local/share/gtk-doc/html/glib/glib-Character-Set-Conversion.html +170 -307
- data/vendor/local/share/gtk-doc/html/glib/glib-Commandline-option-parser.html +154 -198
- data/vendor/local/share/gtk-doc/html/glib/glib-Data-Checksums.html +45 -67
- data/vendor/local/share/gtk-doc/html/glib/glib-Datasets.html +60 -97
- data/vendor/local/share/gtk-doc/html/glib/glib-Date-and-Time-Functions.html +390 -428
- data/vendor/local/share/gtk-doc/html/glib/glib-Double-ended-Queues.html +265 -333
- data/vendor/local/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html +306 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-Dynamic-Loading-of-Modules.html +60 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Error-Reporting.html +122 -152
- data/vendor/local/share/gtk-doc/html/glib/glib-File-Utilities.html +241 -571
- data/vendor/local/share/gtk-doc/html/glib/glib-GDateTime.html +233 -330
- data/vendor/local/share/gtk-doc/html/glib/glib-GTimeZone.html +310 -34
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariant.html +739 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-GVariantType.html +136 -143
- data/vendor/local/share/gtk-doc/html/glib/glib-Glob-style-pattern-matching.html +22 -29
- data/vendor/local/share/gtk-doc/html/glib/glib-Hash-Tables.html +210 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Hook-Functions.html +294 -355
- data/vendor/local/share/gtk-doc/html/glib/glib-Hostname-Utilities.html +27 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-I18N.html +102 -95
- data/vendor/local/share/gtk-doc/html/glib/glib-IO-Channels.html +402 -486
- data/vendor/local/share/gtk-doc/html/glib/glib-Key-value-file-parser.html +308 -442
- data/vendor/local/share/gtk-doc/html/glib/glib-Keyed-Data-Lists.html +75 -116
- data/vendor/local/share/gtk-doc/html/glib/glib-Lexical-Scanner.html +229 -297
- data/vendor/local/share/gtk-doc/html/glib/glib-Limits-of-Basic-Types.html +36 -36
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocation.html +121 -187
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Allocators.html +23 -27
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Chunks.html +80 -107
- data/vendor/local/share/gtk-doc/html/glib/glib-Memory-Slices.html +46 -69
- data/vendor/local/share/gtk-doc/html/glib/glib-Message-Logging.html +63 -99
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Macros.html +121 -115
- data/vendor/local/share/gtk-doc/html/glib/glib-Miscellaneous-Utility-Functions.html +304 -327
- data/vendor/local/share/gtk-doc/html/glib/glib-N-ary-Trees.html +307 -366
- data/vendor/local/share/gtk-doc/html/glib/glib-Numerical-Definitions.html +39 -20
- data/vendor/local/share/gtk-doc/html/glib/glib-Perl-compatible-regular-expressions.html +230 -343
- data/vendor/local/share/gtk-doc/html/glib/glib-Pointer-Arrays.html +121 -167
- data/vendor/local/share/gtk-doc/html/glib/glib-Quarks.html +31 -45
- data/vendor/local/share/gtk-doc/html/glib/glib-Random-Numbers.html +73 -113
- data/vendor/local/share/gtk-doc/html/glib/glib-Relations-and-Tuples.html +75 -106
- data/vendor/local/share/gtk-doc/html/glib/glib-Sequences.html +229 -184
- data/vendor/local/share/gtk-doc/html/glib/glib-Shell-related-Utilities.html +31 -40
- data/vendor/local/share/gtk-doc/html/glib/glib-Simple-XML-Subset-Parser.html +247 -286
- data/vendor/local/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html +281 -283
- data/vendor/local/share/gtk-doc/html/glib/glib-Spawning-Processes.html +83 -337
- data/vendor/local/share/gtk-doc/html/glib/glib-Standard-Macros.html +65 -80
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Chunks.html +36 -42
- data/vendor/local/share/gtk-doc/html/glib/glib-String-Utility-Functions.html +408 -621
- data/vendor/local/share/gtk-doc/html/glib/glib-Strings.html +253 -322
- data/vendor/local/share/gtk-doc/html/glib/glib-Testing.html +161 -252
- data/vendor/local/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html +677 -590
- data/vendor/local/share/gtk-doc/html/glib/glib-Thread-Pools.html +88 -111
- data/vendor/local/share/gtk-doc/html/glib/glib-Threads.html +378 -475
- data/vendor/local/share/gtk-doc/html/glib/glib-Timers.html +27 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Trash-Stacks.html +39 -48
- data/vendor/local/share/gtk-doc/html/glib/glib-Type-Conversion-Macros.html +19 -25
- data/vendor/local/share/gtk-doc/html/glib/glib-URI-Functions.html +57 -93
- data/vendor/local/share/gtk-doc/html/glib/glib-Unicode-Manipulation.html +413 -534
- data/vendor/local/share/gtk-doc/html/glib/glib-Version-Information.html +117 -21
- data/vendor/local/share/gtk-doc/html/glib/glib-Warnings-and-Assertions.html +38 -53
- data/vendor/local/share/gtk-doc/html/glib/glib-Windows-Compatibility-Functions.html +60 -114
- data/vendor/local/share/gtk-doc/html/glib/glib-building.html +38 -39
- data/vendor/local/share/gtk-doc/html/glib/glib-changes.html +7 -13
- data/vendor/local/share/gtk-doc/html/glib/glib-compiling.html +5 -5
- data/vendor/local/share/gtk-doc/html/glib/glib-core.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-cross-compiling.html +19 -19
- data/vendor/local/share/gtk-doc/html/glib/glib-data-types.html +6 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-fundamentals.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib-gettextize.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/glib-regex-syntax.html +82 -82
- data/vendor/local/share/gtk-doc/html/glib/glib-resources.html +9 -9
- data/vendor/local/share/gtk-doc/html/glib/glib-running.html +26 -26
- data/vendor/local/share/gtk-doc/html/glib/glib-utilities.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp +144 -103
- data/vendor/local/share/gtk-doc/html/glib/glib.devhelp2 +170 -105
- data/vendor/local/share/gtk-doc/html/glib/glib.html +3 -3
- data/vendor/local/share/gtk-doc/html/glib/gtester-report.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gtester.html +10 -10
- data/vendor/local/share/gtk-doc/html/glib/gvariant-format-strings.html +48 -43
- data/vendor/local/share/gtk-doc/html/glib/gvariant-text.html +660 -0
- data/vendor/local/share/gtk-doc/html/glib/index.html +8 -4
- data/vendor/local/share/gtk-doc/html/glib/index.sgml +67 -2
- data/vendor/local/share/gtk-doc/html/glib/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/glib/tools.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/GBinding.html +72 -90
- data/vendor/local/share/gtk-doc/html/gobject/GTypeModule.html +79 -108
- data/vendor/local/share/gtk-doc/html/gobject/GTypePlugin.html +67 -85
- data/vendor/local/share/gtk-doc/html/gobject/annotation-glossary.html +63 -9
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-10.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-12.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-14.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-18.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-2.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-22.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-24.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-26.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-28.html +47 -0
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-4.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-6.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-2-8.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-deprecated.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/api-index-full.html +65 -53
- data/vendor/local/share/gtk-doc/html/gobject/ch01s02.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/ch06s03.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gobject.html +8 -11
- data/vendor/local/share/gtk-doc/html/gobject/chapter-gtype.html +19 -19
- data/vendor/local/share/gtk-doc/html/gobject/chapter-intro.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/chapter-signal.html +18 -18
- data/vendor/local/share/gtk-doc/html/gobject/glib-genmarshal.html +22 -22
- data/vendor/local/share/gtk-doc/html/gobject/glib-mkenums.html +16 -16
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Boxed-Types.html +40 -54
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Closures.html +405 -512
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html +170 -213
- data/vendor/local/share/gtk-doc/html/gobject/gobject-GParamSpec.html +242 -292
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Generic-values.html +91 -127
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Signals.html +407 -573
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Standard-Parameter-and-Value-Types.html +951 -1268
- data/vendor/local/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html +383 -441
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Type-Information.html +648 -829
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Value-arrays.html +82 -95
- data/vendor/local/share/gtk-doc/html/gobject/gobject-Varargs-Value-Collection.html +31 -49
- data/vendor/local/share/gtk-doc/html/gobject/gobject-memory.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/gobject-properties.html +15 -14
- data/vendor/local/share/gtk-doc/html/gobject/gobject-query.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gobject.devhelp2 +62 -58
- data/vendor/local/share/gtk-doc/html/gobject/gtype-conventions.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/gtype-instantiable-classed.html +11 -11
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable-classed.html +14 -14
- data/vendor/local/share/gtk-doc/html/gobject/gtype-non-instantiable.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-chainup.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-code.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-construction.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-destruction.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject-methods.html +9 -9
- data/vendor/local/share/gtk-doc/html/gobject/howto-gobject.html +10 -10
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-implement.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface-properties.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/howto-interface.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/howto-signals.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/index.html +11 -10
- data/vendor/local/share/gtk-doc/html/gobject/index.sgml +13 -1
- data/vendor/local/share/gtk-doc/html/gobject/pr01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/pt01.html +7 -7
- data/vendor/local/share/gtk-doc/html/gobject/pt02.html +8 -8
- data/vendor/local/share/gtk-doc/html/gobject/pt03.html +5 -5
- data/vendor/local/share/gtk-doc/html/gobject/rn01.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/rn02.html +4 -4
- data/vendor/local/share/gtk-doc/html/gobject/signal.html +13 -13
- data/vendor/local/share/gtk-doc/html/gobject/style.css +2 -1
- data/vendor/local/share/gtk-doc/html/gobject/tools-ginspector.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gob.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-gtkdoc.html +6 -6
- data/vendor/local/share/gtk-doc/html/gobject/tools-refdb.html +3 -3
- data/vendor/local/share/gtk-doc/html/gobject/tools-vala.html +3 -3
- data/vendor/local/share/locale/ar/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/glib20.mo +0 -0
- data/vendor/local/share/man/man1/glib-genmarshal.1 +2 -2
- data/vendor/local/share/man/man1/glib-mkenums.1 +2 -2
- data/vendor/local/share/man/man1/gobject-query.1 +2 -2
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.log → glib_2.28.1-1_win32.log} +690 -773
- data/vendor/local/src/tml/packaging/{glib_2.26.1-1_win32.sh → glib_2.28.1-1_win32.sh} +2 -4
- metadata +78 -146
- data/ext/glib2/Makefile +0 -169
- data/ext/glib2/glib-enum-types.c +0 -1065
- data/ext/glib2/glib-enum-types.h +0 -144
- data/ext/glib2/ruby-glib2.pc +0 -3
- data/test-unit/COPYING +0 -56
- data/test-unit/GPL +0 -340
- data/test-unit/History.txt +0 -279
- data/test-unit/Manifest.txt +0 -110
- data/test-unit/PSFL +0 -271
- data/test-unit/README.txt +0 -75
- data/test-unit/Rakefile +0 -53
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/html/bar.png +0 -0
- data/test-unit/html/bar.svg +0 -153
- data/test-unit/html/developer.png +0 -0
- data/test-unit/html/developer.svg +0 -469
- data/test-unit/html/famfamfam-logo.png +0 -0
- data/test-unit/html/favicon.ico +0 -0
- data/test-unit/html/favicon.png +0 -0
- data/test-unit/html/favicon.svg +0 -82
- data/test-unit/html/heading-mark.png +0 -0
- data/test-unit/html/heading-mark.svg +0 -393
- data/test-unit/html/index.html +0 -285
- data/test-unit/html/index.html.ja +0 -299
- data/test-unit/html/install.png +0 -0
- data/test-unit/html/install.svg +0 -636
- data/test-unit/html/jp.png +0 -0
- data/test-unit/html/kinotan-failure.png +0 -0
- data/test-unit/html/kinotan-pass.png +0 -0
- data/test-unit/html/logo.png +0 -0
- data/test-unit/html/logo.svg +0 -483
- data/test-unit/html/reference.png +0 -0
- data/test-unit/html/rubyforge.png +0 -0
- data/test-unit/html/tango-logo.png +0 -0
- data/test-unit/html/test-unit.css +0 -339
- data/test-unit/html/tutorial.png +0 -0
- data/test-unit/html/tutorial.svg +0 -559
- data/test-unit/html/us.png +0 -0
- data/test-unit/images/color-diff.png +0 -0
- data/test-unit/lib/test/unit.rb +0 -328
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -25
- data/test-unit/lib/test/unit/assertions.rb +0 -1792
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -415
- data/test-unit/lib/test/unit/collector.rb +0 -38
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -187
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/collector/xml.rb +0 -250
- data/test-unit/lib/test/unit/color-scheme.rb +0 -106
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -740
- data/test-unit/lib/test/unit/error.rb +0 -131
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -136
- data/test-unit/lib/test/unit/fixture.rb +0 -185
- data/test-unit/lib/test/unit/notification.rb +0 -129
- data/test-unit/lib/test/unit/omission.rb +0 -191
- data/test-unit/lib/test/unit/pending.rb +0 -150
- data/test-unit/lib/test/unit/priority.rb +0 -180
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/runner/xml.rb +0 -15
- data/test-unit/lib/test/unit/testcase.rb +0 -515
- data/test-unit/lib/test/unit/testresult.rb +0 -125
- data/test-unit/lib/test/unit/testsuite.rb +0 -134
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -467
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -63
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -82
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -53
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -86
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/ui/xml/testrunner.rb +0 -224
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -42
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/output.rb +0 -31
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/test_adder.rb +0 -20
- data/test-unit/sample/test_subtracter.rb +0 -20
- data/test-unit/sample/test_user.rb +0 -23
- data/test-unit/test/collector/test-descendant.rb +0 -133
- data/test-unit/test/collector/test-load.rb +0 -442
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -100
- data/test-unit/test/run-test.rb +0 -22
- data/test-unit/test/test-assertions.rb +0 -1849
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -69
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -518
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -324
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -569
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -137
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_tap.rb +0 -33
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test-output.rb +0 -11
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
- data/vendor/local/share/gtk-doc/html/gio/ch24.html +0 -75
- data/vendor/local/share/gtk-doc/html/gio/ch25.html +0 -217
- data/vendor/local/share/gtk-doc/html/gio/ch25s02.html +0 -41
- data/vendor/local/share/gtk-doc/html/gio/ch25s03.html +0 -39
@@ -8,7 +8,7 @@
|
|
8
8
|
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
|
9
9
|
<link rel="prev" href="glib-utilities.html" title="GLib Utilities">
|
10
10
|
<link rel="next" href="glib-Character-Set-Conversion.html" title="Character Set Conversion">
|
11
|
-
<meta name="generator" content="GTK-Doc V1.
|
11
|
+
<meta name="generator" content="GTK-Doc V1.16.1 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
13
13
|
</head>
|
14
14
|
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<a href="#glib-String-Utility-Functions.description" class="shortcut">Description</a>
|
27
27
|
</td></tr>
|
28
28
|
</table>
|
29
|
-
<div class="refentry"
|
29
|
+
<div class="refentry">
|
30
30
|
<a name="glib-String-Utility-Functions"></a><div class="titlepage"></div>
|
31
31
|
<div class="refnamediv"><table width="100%"><tr>
|
32
32
|
<td valign="top">
|
@@ -35,26 +35,26 @@
|
|
35
35
|
</td>
|
36
36
|
<td valign="top" align="right"></td>
|
37
37
|
</tr></table></div>
|
38
|
-
<div class="refsynopsisdiv"
|
38
|
+
<div class="refsynopsisdiv">
|
39
39
|
<a name="glib-String-Utility-Functions.synopsis"></a><h2>Synopsis</h2>
|
40
40
|
<pre class="synopsis">
|
41
41
|
#include <glib.h>
|
42
42
|
#include <glib/gprintf.h>
|
43
43
|
|
44
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
45
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
44
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup" title="g_strdup ()">g_strdup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);
|
45
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strndup" title="g_strndup ()">g_strndup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
46
46
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);
|
47
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
48
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
47
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strdupv" title="g_strdupv ()">g_strdupv</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
48
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strnfill" title="g_strnfill ()">g_strnfill</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
49
49
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> fill_char</code></em>);
|
50
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
50
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-stpcpy" title="g_stpcpy ()">g_stpcpy</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
51
51
|
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);
|
52
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
52
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strstr-len" title="g_strstr_len ()">g_strstr_len</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
53
53
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
54
54
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
55
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
55
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strrstr" title="g_strrstr ()">g_strrstr</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
56
56
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
57
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
57
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strrstr-len" title="g_strrstr_len ()">g_strrstr_len</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
58
58
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
59
59
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);
|
60
60
|
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-str-has-prefix" title="g_str_has_prefix ()">g_str_has_prefix</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
@@ -71,9 +71,9 @@
|
|
71
71
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
72
72
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> dest_size</code></em>);
|
73
73
|
|
74
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
74
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup-printf" title="g_strdup_printf ()">g_strdup_printf</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
75
75
|
<em class="parameter"><code>...</code></em>);
|
76
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
76
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdup-vprintf" title="g_strdup_vprintf ()">g_strdup_vprintf</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
77
77
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);
|
78
78
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-printf" title="g_printf ()">g_printf</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
79
79
|
<em class="parameter"><code>...</code></em>);
|
@@ -126,19 +126,19 @@
|
|
126
126
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
127
127
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);
|
128
128
|
|
129
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
129
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strup" title="g_ascii_strup ()">g_ascii_strup</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
130
130
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);
|
131
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
131
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strdown" title="g_ascii_strdown ()">g_ascii_strdown</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
132
132
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);
|
133
133
|
|
134
134
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-tolower" title="g_ascii_tolower ()">g_ascii_tolower</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);
|
135
135
|
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-toupper" title="g_ascii_toupper ()">g_ascii_toupper</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);
|
136
136
|
|
137
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
138
|
-
<a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
137
|
+
<a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-string-ascii-up" title="g_string_ascii_up ()">g_string_ascii_up</a> (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>);
|
138
|
+
<a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-string-ascii-down" title="g_string_ascii_down ()">g_string_ascii_down</a> (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>);
|
139
139
|
|
140
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
141
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
140
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strup" title="g_strup ()">g_strup</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
141
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdown" title="g_strdown ()">g_strdown</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
142
142
|
|
143
143
|
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strcasecmp" title="g_strcasecmp ()">g_strcasecmp</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
144
144
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);
|
@@ -146,7 +146,7 @@
|
|
146
146
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
147
147
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);
|
148
148
|
|
149
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
149
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strreverse" title="g_strreverse ()">g_strreverse</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
150
150
|
|
151
151
|
<a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtoll" title="g_ascii_strtoll ()">g_ascii_strtoll</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
152
152
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -157,50 +157,50 @@
|
|
157
157
|
#define <a class="link" href="glib-String-Utility-Functions.html#G-ASCII-DTOSTR-BUF-SIZE:CAPS" title="G_ASCII_DTOSTR_BUF_SIZE">G_ASCII_DTOSTR_BUF_SIZE</a>
|
158
158
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strtod" title="g_ascii_strtod ()">g_ascii_strtod</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
159
159
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
160
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
160
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-dtostr" title="g_ascii_dtostr ()">g_ascii_dtostr</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
161
161
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
162
162
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);
|
163
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
163
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-ascii-formatd" title="g_ascii_formatd ()">g_ascii_formatd</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
164
164
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
165
165
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
166
166
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);
|
167
167
|
<a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strtod" title="g_strtod ()">g_strtod</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
168
168
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);
|
169
169
|
|
170
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
171
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
170
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strchug" title="g_strchug ()">g_strchug</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
171
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strchomp" title="g_strchomp ()">g_strchomp</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);
|
172
172
|
#define <a class="link" href="glib-String-Utility-Functions.html#g-strstrip" title="g_strstrip()">g_strstrip</a> (string)
|
173
173
|
|
174
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
174
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strdelimit" title="g_strdelimit ()">g_strdelimit</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
175
175
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
176
176
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> new_delimiter</code></em>);
|
177
177
|
#define <a class="link" href="glib-String-Utility-Functions.html#G-STR-DELIMITERS:CAPS" title="G_STR_DELIMITERS">G_STR_DELIMITERS</a>
|
178
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
178
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strescape" title="g_strescape ()">g_strescape</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>,
|
179
179
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exceptions</code></em>);
|
180
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
181
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
180
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strcompress" title="g_strcompress ()">g_strcompress</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>);
|
181
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strcanon" title="g_strcanon ()">g_strcanon</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
182
182
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *valid_chars</code></em>,
|
183
183
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> substitutor</code></em>);
|
184
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
184
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strsplit" title="g_strsplit ()">g_strsplit</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
185
185
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiter</code></em>,
|
186
186
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>);
|
187
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
187
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** <a class="link" href="glib-String-Utility-Functions.html#g-strsplit-set" title="g_strsplit_set ()">g_strsplit_set</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
188
188
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
189
189
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>);
|
190
190
|
<span class="returnvalue">void</span> <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()">g_strfreev</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
191
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
191
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()">g_strconcat</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string1</code></em>,
|
192
192
|
<em class="parameter"><code>...</code></em>);
|
193
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
193
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strjoin" title="g_strjoin ()">g_strjoin</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
194
194
|
<em class="parameter"><code>...</code></em>);
|
195
|
-
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
195
|
+
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strjoinv" title="g_strjoinv ()">g_strjoinv</a> (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
196
196
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
197
197
|
<a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> <a class="link" href="glib-String-Utility-Functions.html#g-strv-length" title="g_strv_length ()">g_strv_length</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);
|
198
198
|
|
199
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
200
|
-
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
199
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strerror" title="g_strerror ()">g_strerror</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> errnum</code></em>);
|
200
|
+
const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="glib-String-Utility-Functions.html#g-strsignal" title="g_strsignal ()">g_strsignal</a> (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> signum</code></em>);
|
201
201
|
</pre>
|
202
202
|
</div>
|
203
|
-
<div class="refsect1"
|
203
|
+
<div class="refsect1">
|
204
204
|
<a name="glib-String-Utility-Functions.description"></a><h2>Description</h2>
|
205
205
|
<p>
|
206
206
|
This section describes a number of utility functions for creating,
|
@@ -229,11 +229,11 @@ If your intention is to format strings for a certain number of columns, then
|
|
229
229
|
wide characters (see <a class="link" href="glib-Unicode-Manipulation.html#g-unichar-iswide" title="g_unichar_iswide ()"><code class="function">g_unichar_iswide()</code></a>) into account.
|
230
230
|
</p>
|
231
231
|
</div>
|
232
|
-
<div class="refsect1"
|
232
|
+
<div class="refsect1">
|
233
233
|
<a name="glib-String-Utility-Functions.details"></a><h2>Details</h2>
|
234
|
-
<div class="refsect2"
|
234
|
+
<div class="refsect2">
|
235
235
|
<a name="g-strdup"></a><h3>g_strdup ()</h3>
|
236
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
236
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>);</pre>
|
237
237
|
<p>
|
238
238
|
Duplicates a string. If <em class="parameter"><code>str</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> it returns <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.
|
239
239
|
The returned string should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" title="g_free ()"><code class="function">g_free()</code></a>
|
@@ -244,21 +244,20 @@ when no longer needed.
|
|
244
244
|
<tbody>
|
245
245
|
<tr>
|
246
246
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
247
|
-
<td>the string to duplicate
|
248
|
-
</td>
|
247
|
+
<td>the string to duplicate</td>
|
249
248
|
</tr>
|
250
249
|
<tr>
|
251
250
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
252
|
-
<td>
|
251
|
+
<td>a newly-allocated copy of <em class="parameter"><code>str</code></em>
|
253
252
|
</td>
|
254
253
|
</tr>
|
255
254
|
</tbody>
|
256
255
|
</table></div>
|
257
256
|
</div>
|
258
257
|
<hr>
|
259
|
-
<div class="refsect2"
|
258
|
+
<div class="refsect2">
|
260
259
|
<a name="g-strndup"></a><h3>g_strndup ()</h3>
|
261
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
260
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strndup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
262
261
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> n</code></em>);</pre>
|
263
262
|
<p>
|
264
263
|
Duplicates the first <em class="parameter"><code>n</code></em> bytes of a string, returning a newly-allocated
|
@@ -269,7 +268,7 @@ The returned value should be freed when no longer needed.
|
|
269
268
|
</p>
|
270
269
|
<p>
|
271
270
|
</p>
|
272
|
-
<div class="note"
|
271
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
273
272
|
<h3 class="title">Note</h3>
|
274
273
|
<p>
|
275
274
|
To copy a number of characters from a UTF-8 encoded string, use
|
@@ -283,8 +282,7 @@ To copy a number of characters from a UTF-8 encoded string, use
|
|
283
282
|
<tbody>
|
284
283
|
<tr>
|
285
284
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
286
|
-
<td>the string to duplicate
|
287
|
-
</td>
|
285
|
+
<td>the string to duplicate</td>
|
288
286
|
</tr>
|
289
287
|
<tr>
|
290
288
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
@@ -293,17 +291,16 @@ To copy a number of characters from a UTF-8 encoded string, use
|
|
293
291
|
</tr>
|
294
292
|
<tr>
|
295
293
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
296
|
-
<td>
|
297
|
-
|
298
|
-
</td>
|
294
|
+
<td>a newly-allocated buffer containing the first <em class="parameter"><code>n</code></em> bytes
|
295
|
+
of <em class="parameter"><code>str</code></em>, nul-terminated</td>
|
299
296
|
</tr>
|
300
297
|
</tbody>
|
301
298
|
</table></div>
|
302
299
|
</div>
|
303
300
|
<hr>
|
304
|
-
<div class="refsect2"
|
301
|
+
<div class="refsect2">
|
305
302
|
<a name="g-strdupv"></a><h3>g_strdupv ()</h3>
|
306
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
303
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strdupv (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
307
304
|
<p>
|
308
305
|
Copies <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. The copy is a deep copy;
|
309
306
|
the new array should be freed by first freeing each string, then
|
@@ -316,21 +313,19 @@ on a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><co
|
|
316
313
|
<tr>
|
317
314
|
<td><p><span class="term"><em class="parameter"><code>str_array</code></em> :</span></p></td>
|
318
315
|
<td>
|
319
|
-
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings
|
320
|
-
</td>
|
316
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.</td>
|
321
317
|
</tr>
|
322
318
|
<tr>
|
323
319
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
324
|
-
<td>
|
325
|
-
</td>
|
320
|
+
<td>a new <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.</td>
|
326
321
|
</tr>
|
327
322
|
</tbody>
|
328
323
|
</table></div>
|
329
324
|
</div>
|
330
325
|
<hr>
|
331
|
-
<div class="refsect2"
|
326
|
+
<div class="refsect2">
|
332
327
|
<a name="g-strnfill"></a><h3>g_strnfill ()</h3>
|
333
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
328
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strnfill (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="type">gsize</span></a> length</code></em>,
|
334
329
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> fill_char</code></em>);</pre>
|
335
330
|
<p>
|
336
331
|
Creates a new string <em class="parameter"><code>length</code></em> bytes long filled with <em class="parameter"><code>fill_char</code></em>.
|
@@ -341,26 +336,24 @@ The returned string should be freed when no longer needed.
|
|
341
336
|
<tbody>
|
342
337
|
<tr>
|
343
338
|
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
|
344
|
-
<td>the length of the new string
|
345
|
-
</td>
|
339
|
+
<td>the length of the new string</td>
|
346
340
|
</tr>
|
347
341
|
<tr>
|
348
342
|
<td><p><span class="term"><em class="parameter"><code>fill_char</code></em> :</span></p></td>
|
349
|
-
<td>the byte to fill the string with
|
350
|
-
</td>
|
343
|
+
<td>the byte to fill the string with</td>
|
351
344
|
</tr>
|
352
345
|
<tr>
|
353
346
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
354
|
-
<td>
|
347
|
+
<td>a newly-allocated string filled the <em class="parameter"><code>fill_char</code></em>
|
355
348
|
</td>
|
356
349
|
</tr>
|
357
350
|
</tbody>
|
358
351
|
</table></div>
|
359
352
|
</div>
|
360
353
|
<hr>
|
361
|
-
<div class="refsect2"
|
354
|
+
<div class="refsect2">
|
362
355
|
<a name="g-stpcpy"></a><h3>g_stpcpy ()</h3>
|
363
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
356
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_stpcpy (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
364
357
|
<em class="parameter"><code>const <span class="type">char</span> *src</code></em>);</pre>
|
365
358
|
<p>
|
366
359
|
Copies a nul-terminated string into the dest buffer, include the
|
@@ -373,26 +366,23 @@ without having to repeatedly scan for the end.
|
|
373
366
|
<tbody>
|
374
367
|
<tr>
|
375
368
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
376
|
-
<td>destination buffer
|
377
|
-
</td>
|
369
|
+
<td>destination buffer.</td>
|
378
370
|
</tr>
|
379
371
|
<tr>
|
380
372
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
381
|
-
<td>source string
|
382
|
-
</td>
|
373
|
+
<td>source string.</td>
|
383
374
|
</tr>
|
384
375
|
<tr>
|
385
376
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
386
|
-
<td>
|
387
|
-
</td>
|
377
|
+
<td>a pointer to trailing nul byte.</td>
|
388
378
|
</tr>
|
389
379
|
</tbody>
|
390
380
|
</table></div>
|
391
381
|
</div>
|
392
382
|
<hr>
|
393
|
-
<div class="refsect2"
|
383
|
+
<div class="refsect2">
|
394
384
|
<a name="g-strstr-len"></a><h3>g_strstr_len ()</h3>
|
395
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
385
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strstr_len (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
396
386
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
397
387
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
398
388
|
<p>
|
@@ -405,34 +395,30 @@ to <em class="parameter"><code>haystack_len</code></em>.
|
|
405
395
|
<tbody>
|
406
396
|
<tr>
|
407
397
|
<td><p><span class="term"><em class="parameter"><code>haystack</code></em> :</span></p></td>
|
408
|
-
<td>a string
|
409
|
-
</td>
|
398
|
+
<td>a string.</td>
|
410
399
|
</tr>
|
411
400
|
<tr>
|
412
401
|
<td><p><span class="term"><em class="parameter"><code>haystack_len</code></em> :</span></p></td>
|
413
402
|
<td>the maximum length of <em class="parameter"><code>haystack</code></em>. Note that -1 is
|
414
403
|
a valid length, if <em class="parameter"><code>haystack</code></em> is nul-terminated, meaning it will
|
415
|
-
search through the whole string
|
416
|
-
</td>
|
404
|
+
search through the whole string.</td>
|
417
405
|
</tr>
|
418
406
|
<tr>
|
419
407
|
<td><p><span class="term"><em class="parameter"><code>needle</code></em> :</span></p></td>
|
420
|
-
<td>the string to search for
|
421
|
-
</td>
|
408
|
+
<td>the string to search for.</td>
|
422
409
|
</tr>
|
423
410
|
<tr>
|
424
411
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
425
|
-
<td>
|
426
|
-
|
427
|
-
</td>
|
412
|
+
<td>a pointer to the found occurrence, or
|
413
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if not found.</td>
|
428
414
|
</tr>
|
429
415
|
</tbody>
|
430
416
|
</table></div>
|
431
417
|
</div>
|
432
418
|
<hr>
|
433
|
-
<div class="refsect2"
|
419
|
+
<div class="refsect2">
|
434
420
|
<a name="g-strrstr"></a><h3>g_strrstr ()</h3>
|
435
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
421
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strrstr (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
436
422
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
437
423
|
<p>
|
438
424
|
Searches the string <em class="parameter"><code>haystack</code></em> for the last occurrence
|
@@ -443,27 +429,24 @@ of the string <em class="parameter"><code>needle</code></em>.
|
|
443
429
|
<tbody>
|
444
430
|
<tr>
|
445
431
|
<td><p><span class="term"><em class="parameter"><code>haystack</code></em> :</span></p></td>
|
446
|
-
<td>a nul-terminated string
|
447
|
-
</td>
|
432
|
+
<td>a nul-terminated string.</td>
|
448
433
|
</tr>
|
449
434
|
<tr>
|
450
435
|
<td><p><span class="term"><em class="parameter"><code>needle</code></em> :</span></p></td>
|
451
|
-
<td>the nul-terminated string to search for
|
452
|
-
</td>
|
436
|
+
<td>the nul-terminated string to search for.</td>
|
453
437
|
</tr>
|
454
438
|
<tr>
|
455
439
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
456
|
-
<td>
|
457
|
-
|
458
|
-
</td>
|
440
|
+
<td>a pointer to the found occurrence, or
|
441
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if not found.</td>
|
459
442
|
</tr>
|
460
443
|
</tbody>
|
461
444
|
</table></div>
|
462
445
|
</div>
|
463
446
|
<hr>
|
464
|
-
<div class="refsect2"
|
447
|
+
<div class="refsect2">
|
465
448
|
<a name="g-strrstr-len"></a><h3>g_strrstr_len ()</h3>
|
466
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
449
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strrstr_len (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *haystack</code></em>,
|
467
450
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> haystack_len</code></em>,
|
468
451
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *needle</code></em>);</pre>
|
469
452
|
<p>
|
@@ -476,30 +459,26 @@ to <em class="parameter"><code>haystack_len</code></em>.
|
|
476
459
|
<tbody>
|
477
460
|
<tr>
|
478
461
|
<td><p><span class="term"><em class="parameter"><code>haystack</code></em> :</span></p></td>
|
479
|
-
<td>a nul-terminated string
|
480
|
-
</td>
|
462
|
+
<td>a nul-terminated string.</td>
|
481
463
|
</tr>
|
482
464
|
<tr>
|
483
465
|
<td><p><span class="term"><em class="parameter"><code>haystack_len</code></em> :</span></p></td>
|
484
|
-
<td>the maximum length of <em class="parameter"><code>haystack</code></em
|
485
|
-
</td>
|
466
|
+
<td>the maximum length of <em class="parameter"><code>haystack</code></em>.</td>
|
486
467
|
</tr>
|
487
468
|
<tr>
|
488
469
|
<td><p><span class="term"><em class="parameter"><code>needle</code></em> :</span></p></td>
|
489
|
-
<td>the nul-terminated string to search for
|
490
|
-
</td>
|
470
|
+
<td>the nul-terminated string to search for.</td>
|
491
471
|
</tr>
|
492
472
|
<tr>
|
493
473
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
494
|
-
<td>
|
495
|
-
|
496
|
-
</td>
|
474
|
+
<td>a pointer to the found occurrence, or
|
475
|
+
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if not found.</td>
|
497
476
|
</tr>
|
498
477
|
</tbody>
|
499
478
|
</table></div>
|
500
479
|
</div>
|
501
480
|
<hr>
|
502
|
-
<div class="refsect2"
|
481
|
+
<div class="refsect2">
|
503
482
|
<a name="g-str-has-prefix"></a><h3>g_str_has_prefix ()</h3>
|
504
483
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_str_has_prefix (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
505
484
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *prefix</code></em>);</pre>
|
@@ -511,26 +490,23 @@ Looks whether the string <em class="parameter"><code>str</code></em> begins with
|
|
511
490
|
<tbody>
|
512
491
|
<tr>
|
513
492
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
514
|
-
<td>a nul-terminated string
|
515
|
-
</td>
|
493
|
+
<td>a nul-terminated string.</td>
|
516
494
|
</tr>
|
517
495
|
<tr>
|
518
496
|
<td><p><span class="term"><em class="parameter"><code>prefix</code></em> :</span></p></td>
|
519
|
-
<td>the nul-terminated prefix to look for
|
520
|
-
</td>
|
497
|
+
<td>the nul-terminated prefix to look for.</td>
|
521
498
|
</tr>
|
522
499
|
<tr>
|
523
500
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
524
|
-
<td>
|
525
|
-
|
526
|
-
</td>
|
501
|
+
<td>
|
502
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em> begins with <em class="parameter"><code>prefix</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.</td>
|
527
503
|
</tr>
|
528
504
|
</tbody>
|
529
505
|
</table></div>
|
530
506
|
<p class="since">Since 2.2</p>
|
531
507
|
</div>
|
532
508
|
<hr>
|
533
|
-
<div class="refsect2"
|
509
|
+
<div class="refsect2">
|
534
510
|
<a name="g-str-has-suffix"></a><h3>g_str_has_suffix ()</h3>
|
535
511
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_str_has_suffix (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
536
512
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *suffix</code></em>);</pre>
|
@@ -542,26 +518,23 @@ Looks whether the string <em class="parameter"><code>str</code></em> ends with <
|
|
542
518
|
<tbody>
|
543
519
|
<tr>
|
544
520
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
545
|
-
<td>a nul-terminated string
|
546
|
-
</td>
|
521
|
+
<td>a nul-terminated string.</td>
|
547
522
|
</tr>
|
548
523
|
<tr>
|
549
524
|
<td><p><span class="term"><em class="parameter"><code>suffix</code></em> :</span></p></td>
|
550
|
-
<td>the nul-terminated suffix to look for
|
551
|
-
</td>
|
525
|
+
<td>the nul-terminated suffix to look for.</td>
|
552
526
|
</tr>
|
553
527
|
<tr>
|
554
528
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
555
|
-
<td>
|
556
|
-
|
557
|
-
</td>
|
529
|
+
<td>
|
530
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>str</code></em> end with <em class="parameter"><code>suffix</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.</td>
|
558
531
|
</tr>
|
559
532
|
</tbody>
|
560
533
|
</table></div>
|
561
534
|
<p class="since">Since 2.2</p>
|
562
535
|
</div>
|
563
536
|
<hr>
|
564
|
-
<div class="refsect2"
|
537
|
+
<div class="refsect2">
|
565
538
|
<a name="g-strcmp0"></a><h3>g_strcmp0 ()</h3>
|
566
539
|
<pre class="programlisting"><span class="returnvalue">int</span> g_strcmp0 (<em class="parameter"><code>const <span class="type">char</span> *str1</code></em>,
|
567
540
|
<em class="parameter"><code>const <span class="type">char</span> *str2</code></em>);</pre>
|
@@ -585,16 +558,14 @@ Comparing two <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="
|
|
585
558
|
</tr>
|
586
559
|
<tr>
|
587
560
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
588
|
-
<td
|
589
|
-
|
590
|
-
</td>
|
561
|
+
<td>-1, 0 or 1, if <em class="parameter"><code>str1</code></em> is <, == or > than <em class="parameter"><code>str2</code></em>.</td>
|
591
562
|
</tr>
|
592
563
|
</tbody>
|
593
564
|
</table></div>
|
594
565
|
<p class="since">Since 2.16</p>
|
595
566
|
</div>
|
596
567
|
<hr>
|
597
|
-
<div class="refsect2"
|
568
|
+
<div class="refsect2">
|
598
569
|
<a name="g-strlcpy"></a><h3>g_strlcpy ()</h3>
|
599
570
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_strlcpy (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
600
571
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
@@ -614,7 +585,7 @@ strlen (src), so if <em class="parameter"><code>retval</code></em> >= <em cla
|
|
614
585
|
</p>
|
615
586
|
<p>
|
616
587
|
</p>
|
617
|
-
<div class="note"
|
588
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
618
589
|
<h3 class="title">Note</h3>
|
619
590
|
<p>Caveat: <code class="function">strlcpy()</code> is supposedly more secure than
|
620
591
|
<code class="function">strcpy()</code> or <code class="function">strncpy()</code>, but if you really want to avoid screwups,
|
@@ -627,29 +598,26 @@ strlen (src), so if <em class="parameter"><code>retval</code></em> >= <em cla
|
|
627
598
|
<tbody>
|
628
599
|
<tr>
|
629
600
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
630
|
-
<td>destination buffer
|
631
|
-
</td>
|
601
|
+
<td>destination buffer</td>
|
632
602
|
</tr>
|
633
603
|
<tr>
|
634
604
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
635
|
-
<td>source buffer
|
636
|
-
</td>
|
605
|
+
<td>source buffer</td>
|
637
606
|
</tr>
|
638
607
|
<tr>
|
639
608
|
<td><p><span class="term"><em class="parameter"><code>dest_size</code></em> :</span></p></td>
|
640
|
-
<td>length of <em class="parameter"><code>dest</code></em> in bytes
|
641
|
-
</td>
|
609
|
+
<td>length of <em class="parameter"><code>dest</code></em> in bytes</td>
|
642
610
|
</tr>
|
643
611
|
<tr>
|
644
612
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
645
|
-
<td>
|
613
|
+
<td>length of <em class="parameter"><code>src</code></em>
|
646
614
|
</td>
|
647
615
|
</tr>
|
648
616
|
</tbody>
|
649
617
|
</table></div>
|
650
618
|
</div>
|
651
619
|
<hr>
|
652
|
-
<div class="refsect2"
|
620
|
+
<div class="refsect2">
|
653
621
|
<a name="g-strlcat"></a><h3>g_strlcat ()</h3>
|
654
622
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_strlcat (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *dest</code></em>,
|
655
623
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *src</code></em>,
|
@@ -669,7 +637,7 @@ in the dest_size characters of dest to start with).
|
|
669
637
|
</p>
|
670
638
|
<p>
|
671
639
|
</p>
|
672
|
-
<div class="note"
|
640
|
+
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
|
673
641
|
<h3 class="title">Note</h3>
|
674
642
|
<p>Caveat: this is supposedly a more secure alternative to
|
675
643
|
<code class="function">strcat()</code> or <code class="function">strncat()</code>, but for real security <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()"><code class="function">g_strconcat()</code></a> is harder
|
@@ -682,34 +650,30 @@ to mess up.</p>
|
|
682
650
|
<tbody>
|
683
651
|
<tr>
|
684
652
|
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
|
685
|
-
<td>destination buffer, already containing one nul-terminated string
|
686
|
-
</td>
|
653
|
+
<td>destination buffer, already containing one nul-terminated string</td>
|
687
654
|
</tr>
|
688
655
|
<tr>
|
689
656
|
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
|
690
|
-
<td>source buffer
|
691
|
-
</td>
|
657
|
+
<td>source buffer</td>
|
692
658
|
</tr>
|
693
659
|
<tr>
|
694
660
|
<td><p><span class="term"><em class="parameter"><code>dest_size</code></em> :</span></p></td>
|
695
661
|
<td>length of <em class="parameter"><code>dest</code></em> buffer in bytes (not length of existing string
|
696
|
-
|
697
|
-
</td>
|
662
|
+
inside <em class="parameter"><code>dest</code></em>)</td>
|
698
663
|
</tr>
|
699
664
|
<tr>
|
700
665
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
701
|
-
<td>
|
702
|
-
|
703
|
-
|
704
|
-
</td>
|
666
|
+
<td>size of attempted result, which is MIN (dest_size, strlen
|
667
|
+
(original dest)) + strlen (src), so if retval >= dest_size,
|
668
|
+
truncation occurred.</td>
|
705
669
|
</tr>
|
706
670
|
</tbody>
|
707
671
|
</table></div>
|
708
672
|
</div>
|
709
673
|
<hr>
|
710
|
-
<div class="refsect2"
|
674
|
+
<div class="refsect2">
|
711
675
|
<a name="g-strdup-printf"></a><h3>g_strdup_printf ()</h3>
|
712
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
676
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup_printf (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
713
677
|
<em class="parameter"><code>...</code></em>);</pre>
|
714
678
|
<p>
|
715
679
|
Similar to the standard C <code class="function">sprintf()</code> function but safer, since it
|
@@ -723,26 +687,24 @@ longer needed.
|
|
723
687
|
<tr>
|
724
688
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
725
689
|
<td>a standard <code class="function">printf()</code> format string, but notice
|
726
|
-
|
690
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>
|
727
691
|
</td>
|
728
692
|
</tr>
|
729
693
|
<tr>
|
730
694
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
731
|
-
<td>the parameters to insert into the format string
|
732
|
-
</td>
|
695
|
+
<td>the parameters to insert into the format string</td>
|
733
696
|
</tr>
|
734
697
|
<tr>
|
735
698
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
736
|
-
<td>
|
737
|
-
</td>
|
699
|
+
<td>a newly-allocated string holding the result</td>
|
738
700
|
</tr>
|
739
701
|
</tbody>
|
740
702
|
</table></div>
|
741
703
|
</div>
|
742
704
|
<hr>
|
743
|
-
<div class="refsect2"
|
705
|
+
<div class="refsect2">
|
744
706
|
<a name="g-strdup-vprintf"></a><h3>g_strdup_vprintf ()</h3>
|
745
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
707
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdup_vprintf (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
746
708
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
747
709
|
<p>
|
748
710
|
Similar to the standard C <code class="function">vsprintf()</code> function but safer, since it
|
@@ -760,24 +722,22 @@ additionally returns the length of the allocated string.
|
|
760
722
|
<tr>
|
761
723
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
762
724
|
<td>a standard <code class="function">printf()</code> format string, but notice
|
763
|
-
|
725
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>
|
764
726
|
</td>
|
765
727
|
</tr>
|
766
728
|
<tr>
|
767
729
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
768
|
-
<td>the list of parameters to insert into the format string
|
769
|
-
</td>
|
730
|
+
<td>the list of parameters to insert into the format string</td>
|
770
731
|
</tr>
|
771
732
|
<tr>
|
772
733
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
773
|
-
<td>
|
774
|
-
</td>
|
734
|
+
<td>a newly-allocated string holding the result</td>
|
775
735
|
</tr>
|
776
736
|
</tbody>
|
777
737
|
</table></div>
|
778
738
|
</div>
|
779
739
|
<hr>
|
780
|
-
<div class="refsect2"
|
740
|
+
<div class="refsect2">
|
781
741
|
<a name="g-printf"></a><h3>g_printf ()</h3>
|
782
742
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_printf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
783
743
|
<em class="parameter"><code>...</code></em>);</pre>
|
@@ -790,27 +750,23 @@ positional parameters, as specified in the Single Unix Specification.
|
|
790
750
|
<tbody>
|
791
751
|
<tr>
|
792
752
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
793
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
794
|
-
|
795
|
-
</td>
|
753
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
754
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
796
755
|
</tr>
|
797
756
|
<tr>
|
798
757
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
799
|
-
<td>the arguments to insert in the output
|
800
|
-
</td>
|
758
|
+
<td>the arguments to insert in the output.</td>
|
801
759
|
</tr>
|
802
760
|
<tr>
|
803
761
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
804
|
-
<td>
|
805
|
-
|
806
|
-
</td>
|
762
|
+
<td>the number of bytes printed.</td>
|
807
763
|
</tr>
|
808
764
|
</tbody>
|
809
765
|
</table></div>
|
810
766
|
<p class="since">Since 2.2</p>
|
811
767
|
</div>
|
812
768
|
<hr>
|
813
|
-
<div class="refsect2"
|
769
|
+
<div class="refsect2">
|
814
770
|
<a name="g-vprintf"></a><h3>g_vprintf ()</h3>
|
815
771
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
816
772
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
@@ -823,27 +779,23 @@ positional parameters, as specified in the Single Unix Specification.
|
|
823
779
|
<tbody>
|
824
780
|
<tr>
|
825
781
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
826
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
827
|
-
|
828
|
-
</td>
|
782
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
783
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
829
784
|
</tr>
|
830
785
|
<tr>
|
831
786
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
832
|
-
<td>the list of arguments to insert in the output
|
833
|
-
</td>
|
787
|
+
<td>the list of arguments to insert in the output.</td>
|
834
788
|
</tr>
|
835
789
|
<tr>
|
836
790
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
837
|
-
<td>
|
838
|
-
|
839
|
-
</td>
|
791
|
+
<td>the number of bytes printed.</td>
|
840
792
|
</tr>
|
841
793
|
</tbody>
|
842
794
|
</table></div>
|
843
795
|
<p class="since">Since 2.2</p>
|
844
796
|
</div>
|
845
797
|
<hr>
|
846
|
-
<div class="refsect2"
|
798
|
+
<div class="refsect2">
|
847
799
|
<a name="g-fprintf"></a><h3>g_fprintf ()</h3>
|
848
800
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_fprintf (<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
849
801
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -857,32 +809,27 @@ positional parameters, as specified in the Single Unix Specification.
|
|
857
809
|
<tbody>
|
858
810
|
<tr>
|
859
811
|
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
860
|
-
<td>the stream to write to
|
861
|
-
</td>
|
812
|
+
<td>the stream to write to.</td>
|
862
813
|
</tr>
|
863
814
|
<tr>
|
864
815
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
865
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
866
|
-
|
867
|
-
</td>
|
816
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
817
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
868
818
|
</tr>
|
869
819
|
<tr>
|
870
820
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
871
|
-
<td>the arguments to insert in the output
|
872
|
-
</td>
|
821
|
+
<td>the arguments to insert in the output.</td>
|
873
822
|
</tr>
|
874
823
|
<tr>
|
875
824
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
876
|
-
<td>
|
877
|
-
|
878
|
-
</td>
|
825
|
+
<td>the number of bytes printed.</td>
|
879
826
|
</tr>
|
880
827
|
</tbody>
|
881
828
|
</table></div>
|
882
829
|
<p class="since">Since 2.2</p>
|
883
830
|
</div>
|
884
831
|
<hr>
|
885
|
-
<div class="refsect2"
|
832
|
+
<div class="refsect2">
|
886
833
|
<a name="g-vfprintf"></a><h3>g_vfprintf ()</h3>
|
887
834
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vfprintf (<em class="parameter"><code><span class="type">FILE</span> *file</code></em>,
|
888
835
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -896,32 +843,27 @@ positional parameters, as specified in the Single Unix Specification.
|
|
896
843
|
<tbody>
|
897
844
|
<tr>
|
898
845
|
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
|
899
|
-
<td>the stream to write to
|
900
|
-
</td>
|
846
|
+
<td>the stream to write to.</td>
|
901
847
|
</tr>
|
902
848
|
<tr>
|
903
849
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
904
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
905
|
-
|
906
|
-
</td>
|
850
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
851
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
907
852
|
</tr>
|
908
853
|
<tr>
|
909
854
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
910
|
-
<td>the list of arguments to insert in the output
|
911
|
-
</td>
|
855
|
+
<td>the list of arguments to insert in the output.</td>
|
912
856
|
</tr>
|
913
857
|
<tr>
|
914
858
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
915
|
-
<td>
|
916
|
-
|
917
|
-
</td>
|
859
|
+
<td>the number of bytes printed.</td>
|
918
860
|
</tr>
|
919
861
|
</tbody>
|
920
862
|
</table></div>
|
921
863
|
<p class="since">Since 2.2</p>
|
922
864
|
</div>
|
923
865
|
<hr>
|
924
|
-
<div class="refsect2"
|
866
|
+
<div class="refsect2">
|
925
867
|
<a name="g-sprintf"></a><h3>g_sprintf ()</h3>
|
926
868
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_sprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
927
869
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -943,33 +885,28 @@ See also <a class="link" href="glib-String-Utility-Functions.html#g-strdup-print
|
|
943
885
|
<tr>
|
944
886
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
945
887
|
<td>A pointer to a memory buffer to contain the resulting string. It
|
946
|
-
|
947
|
-
|
948
|
-
</td>
|
888
|
+
is up to the caller to ensure that the allocated buffer is large
|
889
|
+
enough to hold the formatted result</td>
|
949
890
|
</tr>
|
950
891
|
<tr>
|
951
892
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
952
893
|
<td>a standard <code class="function">printf()</code> format string, but notice
|
953
|
-
|
954
|
-
</td>
|
894
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
955
895
|
</tr>
|
956
896
|
<tr>
|
957
897
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
958
|
-
<td>the arguments to insert in the output
|
959
|
-
</td>
|
898
|
+
<td>the arguments to insert in the output.</td>
|
960
899
|
</tr>
|
961
900
|
<tr>
|
962
901
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
963
|
-
<td>
|
964
|
-
|
965
|
-
</td>
|
902
|
+
<td>the number of bytes printed.</td>
|
966
903
|
</tr>
|
967
904
|
</tbody>
|
968
905
|
</table></div>
|
969
906
|
<p class="since">Since 2.2</p>
|
970
907
|
</div>
|
971
908
|
<hr>
|
972
|
-
<div class="refsect2"
|
909
|
+
<div class="refsect2">
|
973
910
|
<a name="g-vsprintf"></a><h3>g_vsprintf ()</h3>
|
974
911
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vsprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
975
912
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -983,32 +920,27 @@ positional parameters, as specified in the Single Unix Specification.
|
|
983
920
|
<tbody>
|
984
921
|
<tr>
|
985
922
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
986
|
-
<td>the buffer to hold the output
|
987
|
-
</td>
|
923
|
+
<td>the buffer to hold the output.</td>
|
988
924
|
</tr>
|
989
925
|
<tr>
|
990
926
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
991
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
992
|
-
|
993
|
-
</td>
|
927
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
928
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
994
929
|
</tr>
|
995
930
|
<tr>
|
996
931
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
997
|
-
<td>the list of arguments to insert in the output
|
998
|
-
</td>
|
932
|
+
<td>the list of arguments to insert in the output.</td>
|
999
933
|
</tr>
|
1000
934
|
<tr>
|
1001
935
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1002
|
-
<td>
|
1003
|
-
|
1004
|
-
</td>
|
936
|
+
<td>the number of bytes printed.</td>
|
1005
937
|
</tr>
|
1006
938
|
</tbody>
|
1007
939
|
</table></div>
|
1008
940
|
<p class="since">Since 2.2</p>
|
1009
941
|
</div>
|
1010
942
|
<hr>
|
1011
|
-
<div class="refsect2"
|
943
|
+
<div class="refsect2">
|
1012
944
|
<a name="g-snprintf"></a><h3>g_snprintf ()</h3>
|
1013
945
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_snprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1014
946
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> n</code></em>,
|
@@ -1042,37 +974,32 @@ the Single Unix Specification.
|
|
1042
974
|
<tbody>
|
1043
975
|
<tr>
|
1044
976
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1045
|
-
<td>the buffer to hold the output
|
1046
|
-
</td>
|
977
|
+
<td>the buffer to hold the output.</td>
|
1047
978
|
</tr>
|
1048
979
|
<tr>
|
1049
980
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1050
981
|
<td>the maximum number of bytes to produce (including the
|
1051
|
-
|
1052
|
-
</td>
|
982
|
+
terminating nul character).</td>
|
1053
983
|
</tr>
|
1054
984
|
<tr>
|
1055
985
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1056
986
|
<td>a standard <code class="function">printf()</code> format string, but notice
|
1057
|
-
|
1058
|
-
</td>
|
987
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
1059
988
|
</tr>
|
1060
989
|
<tr>
|
1061
990
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
1062
|
-
<td>the arguments to insert in the output
|
1063
|
-
</td>
|
991
|
+
<td>the arguments to insert in the output.</td>
|
1064
992
|
</tr>
|
1065
993
|
<tr>
|
1066
994
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1067
|
-
<td>
|
1068
|
-
|
1069
|
-
</td>
|
995
|
+
<td>the number of bytes which would be produced if the buffer
|
996
|
+
was large enough.</td>
|
1070
997
|
</tr>
|
1071
998
|
</tbody>
|
1072
999
|
</table></div>
|
1073
1000
|
</div>
|
1074
1001
|
<hr>
|
1075
|
-
<div class="refsect2"
|
1002
|
+
<div class="refsect2">
|
1076
1003
|
<a name="g-vsnprintf"></a><h3>g_vsnprintf ()</h3>
|
1077
1004
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vsnprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
1078
1005
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gulong" title="gulong"><span class="type">gulong</span></a> n</code></em>,
|
@@ -1106,37 +1033,32 @@ the Single Unix Specification.
|
|
1106
1033
|
<tbody>
|
1107
1034
|
<tr>
|
1108
1035
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1109
|
-
<td>the buffer to hold the output
|
1110
|
-
</td>
|
1036
|
+
<td>the buffer to hold the output.</td>
|
1111
1037
|
</tr>
|
1112
1038
|
<tr>
|
1113
1039
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1114
|
-
<td>the maximum number of bytes to produce (including the
|
1115
|
-
|
1116
|
-
</td>
|
1040
|
+
<td>the maximum number of bytes to produce (including the
|
1041
|
+
terminating nul character).</td>
|
1117
1042
|
</tr>
|
1118
1043
|
<tr>
|
1119
1044
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1120
|
-
<td>a standard <code class="function">printf()</code> format string, but notice
|
1121
|
-
|
1122
|
-
</td>
|
1045
|
+
<td>a standard <code class="function">printf()</code> format string, but notice
|
1046
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
1123
1047
|
</tr>
|
1124
1048
|
<tr>
|
1125
1049
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
1126
|
-
<td>the list of arguments to insert in the output
|
1127
|
-
</td>
|
1050
|
+
<td>the list of arguments to insert in the output.</td>
|
1128
1051
|
</tr>
|
1129
1052
|
<tr>
|
1130
1053
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1131
|
-
<td>
|
1132
|
-
|
1133
|
-
</td>
|
1054
|
+
<td>the number of bytes which would be produced if the buffer
|
1055
|
+
was large enough.</td>
|
1134
1056
|
</tr>
|
1135
1057
|
</tbody>
|
1136
1058
|
</table></div>
|
1137
1059
|
</div>
|
1138
1060
|
<hr>
|
1139
|
-
<div class="refsect2"
|
1061
|
+
<div class="refsect2">
|
1140
1062
|
<a name="g-vasprintf"></a><h3>g_vasprintf ()</h3>
|
1141
1063
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_vasprintf (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **string</code></em>,
|
1142
1064
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> const *format</code></em>,
|
@@ -1153,32 +1075,27 @@ you allocate in advance.
|
|
1153
1075
|
<tbody>
|
1154
1076
|
<tr>
|
1155
1077
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1156
|
-
<td>the return location for the newly-allocated string
|
1157
|
-
</td>
|
1078
|
+
<td>the return location for the newly-allocated string.</td>
|
1158
1079
|
</tr>
|
1159
1080
|
<tr>
|
1160
1081
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1161
1082
|
<td>a standard <code class="function">printf()</code> format string, but notice
|
1162
|
-
|
1163
|
-
</td>
|
1083
|
+
<a class="link" href="glib-String-Utility-Functions.html#string-precision">string precision pitfalls</a>.</td>
|
1164
1084
|
</tr>
|
1165
1085
|
<tr>
|
1166
1086
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
1167
|
-
<td>the list of arguments to insert in the output
|
1168
|
-
</td>
|
1087
|
+
<td>the list of arguments to insert in the output.</td>
|
1169
1088
|
</tr>
|
1170
1089
|
<tr>
|
1171
1090
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1172
|
-
<td>
|
1173
|
-
|
1174
|
-
</td>
|
1091
|
+
<td>the number of bytes printed.</td>
|
1175
1092
|
</tr>
|
1176
1093
|
</tbody>
|
1177
1094
|
</table></div>
|
1178
1095
|
<p class="since">Since 2.4</p>
|
1179
1096
|
</div>
|
1180
1097
|
<hr>
|
1181
|
-
<div class="refsect2"
|
1098
|
+
<div class="refsect2">
|
1182
1099
|
<a name="g-printf-string-upper-bound"></a><h3>g_printf_string_upper_bound ()</h3>
|
1183
1100
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> g_printf_string_upper_bound (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
1184
1101
|
<em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
|
@@ -1191,24 +1108,21 @@ function.
|
|
1191
1108
|
<tbody>
|
1192
1109
|
<tr>
|
1193
1110
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
1194
|
-
<td>the format string. See the <code class="function">printf()</code> documentation
|
1195
|
-
</td>
|
1111
|
+
<td>the format string. See the <code class="function">printf()</code> documentation.</td>
|
1196
1112
|
</tr>
|
1197
1113
|
<tr>
|
1198
1114
|
<td><p><span class="term"><em class="parameter"><code>args</code></em> :</span></p></td>
|
1199
|
-
<td>the parameters to be inserted into the format string
|
1200
|
-
</td>
|
1115
|
+
<td>the parameters to be inserted into the format string.</td>
|
1201
1116
|
</tr>
|
1202
1117
|
<tr>
|
1203
1118
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1204
|
-
<td>the maximum space needed to store the formatted string
|
1205
|
-
</td>
|
1119
|
+
<td>the maximum space needed to store the formatted string.</td>
|
1206
1120
|
</tr>
|
1207
1121
|
</tbody>
|
1208
1122
|
</table></div>
|
1209
1123
|
</div>
|
1210
1124
|
<hr>
|
1211
|
-
<div class="refsect2"
|
1125
|
+
<div class="refsect2">
|
1212
1126
|
<a name="g-ascii-isalnum"></a><h3>g_ascii_isalnum ()</h3>
|
1213
1127
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isalnum (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1214
1128
|
<p>
|
@@ -1227,20 +1141,18 @@ possibly non-ASCII character in.
|
|
1227
1141
|
<tbody>
|
1228
1142
|
<tr>
|
1229
1143
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1230
|
-
<td>any character
|
1231
|
-
</td>
|
1144
|
+
<td>any character</td>
|
1232
1145
|
</tr>
|
1233
1146
|
<tr>
|
1234
1147
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1235
1148
|
<td>
|
1236
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII alphanumeric character
|
1237
|
-
</td>
|
1149
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII alphanumeric character</td>
|
1238
1150
|
</tr>
|
1239
1151
|
</tbody>
|
1240
1152
|
</table></div>
|
1241
1153
|
</div>
|
1242
1154
|
<hr>
|
1243
|
-
<div class="refsect2"
|
1155
|
+
<div class="refsect2">
|
1244
1156
|
<a name="g-ascii-isalpha"></a><h3>g_ascii_isalpha ()</h3>
|
1245
1157
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isalpha (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1246
1158
|
<p>
|
@@ -1259,20 +1171,18 @@ possibly non-ASCII character in.
|
|
1259
1171
|
<tbody>
|
1260
1172
|
<tr>
|
1261
1173
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1262
|
-
<td>any character
|
1263
|
-
</td>
|
1174
|
+
<td>any character</td>
|
1264
1175
|
</tr>
|
1265
1176
|
<tr>
|
1266
1177
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1267
1178
|
<td>
|
1268
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII alphabetic character
|
1269
|
-
</td>
|
1179
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII alphabetic character</td>
|
1270
1180
|
</tr>
|
1271
1181
|
</tbody>
|
1272
1182
|
</table></div>
|
1273
1183
|
</div>
|
1274
1184
|
<hr>
|
1275
|
-
<div class="refsect2"
|
1185
|
+
<div class="refsect2">
|
1276
1186
|
<a name="g-ascii-iscntrl"></a><h3>g_ascii_iscntrl ()</h3>
|
1277
1187
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_iscntrl (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1278
1188
|
<p>
|
@@ -1291,20 +1201,18 @@ possibly non-ASCII character in.
|
|
1291
1201
|
<tbody>
|
1292
1202
|
<tr>
|
1293
1203
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1294
|
-
<td>any character
|
1295
|
-
</td>
|
1204
|
+
<td>any character</td>
|
1296
1205
|
</tr>
|
1297
1206
|
<tr>
|
1298
1207
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1299
1208
|
<td>
|
1300
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII control character
|
1301
|
-
</td>
|
1209
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII control character.</td>
|
1302
1210
|
</tr>
|
1303
1211
|
</tbody>
|
1304
1212
|
</table></div>
|
1305
1213
|
</div>
|
1306
1214
|
<hr>
|
1307
|
-
<div class="refsect2"
|
1215
|
+
<div class="refsect2">
|
1308
1216
|
<a name="g-ascii-isdigit"></a><h3>g_ascii_isdigit ()</h3>
|
1309
1217
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isdigit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1310
1218
|
<p>
|
@@ -1321,20 +1229,18 @@ non-ASCII character in.
|
|
1321
1229
|
<tbody>
|
1322
1230
|
<tr>
|
1323
1231
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1324
|
-
<td>any character
|
1325
|
-
</td>
|
1232
|
+
<td>any character</td>
|
1326
1233
|
</tr>
|
1327
1234
|
<tr>
|
1328
1235
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1329
1236
|
<td>
|
1330
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII digit
|
1331
|
-
</td>
|
1237
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII digit.</td>
|
1332
1238
|
</tr>
|
1333
1239
|
</tbody>
|
1334
1240
|
</table></div>
|
1335
1241
|
</div>
|
1336
1242
|
<hr>
|
1337
|
-
<div class="refsect2"
|
1243
|
+
<div class="refsect2">
|
1338
1244
|
<a name="g-ascii-isgraph"></a><h3>g_ascii_isgraph ()</h3>
|
1339
1245
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isgraph (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1340
1246
|
<p>
|
@@ -1353,20 +1259,18 @@ possibly non-ASCII character in.
|
|
1353
1259
|
<tbody>
|
1354
1260
|
<tr>
|
1355
1261
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1356
|
-
<td>any character
|
1357
|
-
</td>
|
1262
|
+
<td>any character</td>
|
1358
1263
|
</tr>
|
1359
1264
|
<tr>
|
1360
1265
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1361
1266
|
<td>
|
1362
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII printing character other than space
|
1363
|
-
</td>
|
1267
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII printing character other than space.</td>
|
1364
1268
|
</tr>
|
1365
1269
|
</tbody>
|
1366
1270
|
</table></div>
|
1367
1271
|
</div>
|
1368
1272
|
<hr>
|
1369
|
-
<div class="refsect2"
|
1273
|
+
<div class="refsect2">
|
1370
1274
|
<a name="g-ascii-islower"></a><h3>g_ascii_islower ()</h3>
|
1371
1275
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_islower (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1372
1276
|
<p>
|
@@ -1385,20 +1289,18 @@ before passing a possibly non-ASCII character in.
|
|
1385
1289
|
<tbody>
|
1386
1290
|
<tr>
|
1387
1291
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1388
|
-
<td>any character
|
1389
|
-
</td>
|
1292
|
+
<td>any character</td>
|
1390
1293
|
</tr>
|
1391
1294
|
<tr>
|
1392
1295
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1393
1296
|
<td>
|
1394
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII lower case letter
|
1395
|
-
</td>
|
1297
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII lower case letter</td>
|
1396
1298
|
</tr>
|
1397
1299
|
</tbody>
|
1398
1300
|
</table></div>
|
1399
1301
|
</div>
|
1400
1302
|
<hr>
|
1401
|
-
<div class="refsect2"
|
1303
|
+
<div class="refsect2">
|
1402
1304
|
<a name="g-ascii-isprint"></a><h3>g_ascii_isprint ()</h3>
|
1403
1305
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isprint (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1404
1306
|
<p>
|
@@ -1417,20 +1319,18 @@ possibly non-ASCII character in.
|
|
1417
1319
|
<tbody>
|
1418
1320
|
<tr>
|
1419
1321
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1420
|
-
<td>any character
|
1421
|
-
</td>
|
1322
|
+
<td>any character</td>
|
1422
1323
|
</tr>
|
1423
1324
|
<tr>
|
1424
1325
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1425
1326
|
<td>
|
1426
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII printing character
|
1427
|
-
</td>
|
1327
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII printing character.</td>
|
1428
1328
|
</tr>
|
1429
1329
|
</tbody>
|
1430
1330
|
</table></div>
|
1431
1331
|
</div>
|
1432
1332
|
<hr>
|
1433
|
-
<div class="refsect2"
|
1333
|
+
<div class="refsect2">
|
1434
1334
|
<a name="g-ascii-ispunct"></a><h3>g_ascii_ispunct ()</h3>
|
1435
1335
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_ispunct (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1436
1336
|
<p>
|
@@ -1449,20 +1349,18 @@ possibly non-ASCII character in.
|
|
1449
1349
|
<tbody>
|
1450
1350
|
<tr>
|
1451
1351
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1452
|
-
<td>any character
|
1453
|
-
</td>
|
1352
|
+
<td>any character</td>
|
1454
1353
|
</tr>
|
1455
1354
|
<tr>
|
1456
1355
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1457
1356
|
<td>
|
1458
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII punctuation character
|
1459
|
-
</td>
|
1357
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII punctuation character.</td>
|
1460
1358
|
</tr>
|
1461
1359
|
</tbody>
|
1462
1360
|
</table></div>
|
1463
1361
|
</div>
|
1464
1362
|
<hr>
|
1465
|
-
<div class="refsect2"
|
1363
|
+
<div class="refsect2">
|
1466
1364
|
<a name="g-ascii-isspace"></a><h3>g_ascii_isspace ()</h3>
|
1467
1365
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isspace (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1468
1366
|
<p>
|
@@ -1481,20 +1379,18 @@ possibly non-ASCII character in.
|
|
1481
1379
|
<tbody>
|
1482
1380
|
<tr>
|
1483
1381
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1484
|
-
<td>any character
|
1485
|
-
</td>
|
1382
|
+
<td>any character</td>
|
1486
1383
|
</tr>
|
1487
1384
|
<tr>
|
1488
1385
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1489
1386
|
<td>
|
1490
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII white-space character
|
1491
|
-
</td>
|
1387
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII white-space character</td>
|
1492
1388
|
</tr>
|
1493
1389
|
</tbody>
|
1494
1390
|
</table></div>
|
1495
1391
|
</div>
|
1496
1392
|
<hr>
|
1497
|
-
<div class="refsect2"
|
1393
|
+
<div class="refsect2">
|
1498
1394
|
<a name="g-ascii-isupper"></a><h3>g_ascii_isupper ()</h3>
|
1499
1395
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isupper (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1500
1396
|
<p>
|
@@ -1513,20 +1409,18 @@ before passing a possibly non-ASCII character in.
|
|
1513
1409
|
<tbody>
|
1514
1410
|
<tr>
|
1515
1411
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1516
|
-
<td>any character
|
1517
|
-
</td>
|
1412
|
+
<td>any character</td>
|
1518
1413
|
</tr>
|
1519
1414
|
<tr>
|
1520
1415
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1521
1416
|
<td>
|
1522
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII upper case letter
|
1523
|
-
</td>
|
1417
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII upper case letter</td>
|
1524
1418
|
</tr>
|
1525
1419
|
</tbody>
|
1526
1420
|
</table></div>
|
1527
1421
|
</div>
|
1528
1422
|
<hr>
|
1529
|
-
<div class="refsect2"
|
1423
|
+
<div class="refsect2">
|
1530
1424
|
<a name="g-ascii-isxdigit"></a><h3>g_ascii_isxdigit ()</h3>
|
1531
1425
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> g_ascii_isxdigit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1532
1426
|
<p>
|
@@ -1543,20 +1437,18 @@ possibly non-ASCII character in.
|
|
1543
1437
|
<tbody>
|
1544
1438
|
<tr>
|
1545
1439
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1546
|
-
<td>any character
|
1547
|
-
</td>
|
1440
|
+
<td>any character</td>
|
1548
1441
|
</tr>
|
1549
1442
|
<tr>
|
1550
1443
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1551
1444
|
<td>
|
1552
|
-
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII hexadecimal-digit character
|
1553
|
-
</td>
|
1445
|
+
<a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>c</code></em> is an ASCII hexadecimal-digit character.</td>
|
1554
1446
|
</tr>
|
1555
1447
|
</tbody>
|
1556
1448
|
</table></div>
|
1557
1449
|
</div>
|
1558
1450
|
<hr>
|
1559
|
-
<div class="refsect2"
|
1451
|
+
<div class="refsect2">
|
1560
1452
|
<a name="g-ascii-digit-value"></a><h3>g_ascii_digit_value ()</h3>
|
1561
1453
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_digit_value (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1562
1454
|
<p>
|
@@ -1570,20 +1462,18 @@ are signed.
|
|
1570
1462
|
<tbody>
|
1571
1463
|
<tr>
|
1572
1464
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1573
|
-
<td>an ASCII character
|
1574
|
-
</td>
|
1465
|
+
<td>an ASCII character.</td>
|
1575
1466
|
</tr>
|
1576
1467
|
<tr>
|
1577
1468
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1578
|
-
<td>
|
1579
|
-
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-isdigit" title="g_ascii_isdigit ()"><code class="function">g_ascii_isdigit()</code></a>), its numeric value. Otherwise, -1
|
1580
|
-
</td>
|
1469
|
+
<td>If <em class="parameter"><code>c</code></em> is a decimal digit (according to
|
1470
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-isdigit" title="g_ascii_isdigit ()"><code class="function">g_ascii_isdigit()</code></a>), its numeric value. Otherwise, -1.</td>
|
1581
1471
|
</tr>
|
1582
1472
|
</tbody>
|
1583
1473
|
</table></div>
|
1584
1474
|
</div>
|
1585
1475
|
<hr>
|
1586
|
-
<div class="refsect2"
|
1476
|
+
<div class="refsect2">
|
1587
1477
|
<a name="g-ascii-xdigit-value"></a><h3>g_ascii_xdigit_value ()</h3>
|
1588
1478
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_xdigit_value (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1589
1479
|
<p>
|
@@ -1597,20 +1487,18 @@ are signed.
|
|
1597
1487
|
<tbody>
|
1598
1488
|
<tr>
|
1599
1489
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1600
|
-
<td>an ASCII character
|
1601
|
-
</td>
|
1490
|
+
<td>an ASCII character.</td>
|
1602
1491
|
</tr>
|
1603
1492
|
<tr>
|
1604
1493
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1605
|
-
<td>
|
1606
|
-
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-isxdigit" title="g_ascii_isxdigit ()"><code class="function">g_ascii_isxdigit()</code></a>), its numeric value. Otherwise, -1
|
1607
|
-
</td>
|
1494
|
+
<td>If <em class="parameter"><code>c</code></em> is a hex digit (according to
|
1495
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-ascii-isxdigit" title="g_ascii_isxdigit ()"><code class="function">g_ascii_isxdigit()</code></a>), its numeric value. Otherwise, -1.</td>
|
1608
1496
|
</tr>
|
1609
1497
|
</tbody>
|
1610
1498
|
</table></div>
|
1611
1499
|
</div>
|
1612
1500
|
<hr>
|
1613
|
-
<div class="refsect2"
|
1501
|
+
<div class="refsect2">
|
1614
1502
|
<a name="g-ascii-strcasecmp"></a><h3>g_ascii_strcasecmp ()</h3>
|
1615
1503
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_strcasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1616
1504
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);</pre>
|
@@ -1636,25 +1524,22 @@ strings using this function, you will get false matches.
|
|
1636
1524
|
<tbody>
|
1637
1525
|
<tr>
|
1638
1526
|
<td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
|
1639
|
-
<td>string to compare with <em class="parameter"><code>s2</code></em
|
1640
|
-
</td>
|
1527
|
+
<td>string to compare with <em class="parameter"><code>s2</code></em>.</td>
|
1641
1528
|
</tr>
|
1642
1529
|
<tr>
|
1643
1530
|
<td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
|
1644
|
-
<td>string to compare with <em class="parameter"><code>s1</code></em
|
1645
|
-
</td>
|
1531
|
+
<td>string to compare with <em class="parameter"><code>s1</code></em>.</td>
|
1646
1532
|
</tr>
|
1647
1533
|
<tr>
|
1648
1534
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1649
|
-
<td>
|
1650
|
-
|
1651
|
-
</td>
|
1535
|
+
<td>0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1536
|
+
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.</td>
|
1652
1537
|
</tr>
|
1653
1538
|
</tbody>
|
1654
1539
|
</table></div>
|
1655
1540
|
</div>
|
1656
1541
|
<hr>
|
1657
|
-
<div class="refsect2"
|
1542
|
+
<div class="refsect2">
|
1658
1543
|
<a name="g-ascii-strncasecmp"></a><h3>g_ascii_strncasecmp ()</h3>
|
1659
1544
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_ascii_strncasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1660
1545
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
@@ -1678,32 +1563,28 @@ corresponding to ASCII letters always represent themselves.
|
|
1678
1563
|
<tbody>
|
1679
1564
|
<tr>
|
1680
1565
|
<td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
|
1681
|
-
<td>string to compare with <em class="parameter"><code>s2</code></em
|
1682
|
-
</td>
|
1566
|
+
<td>string to compare with <em class="parameter"><code>s2</code></em>.</td>
|
1683
1567
|
</tr>
|
1684
1568
|
<tr>
|
1685
1569
|
<td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
|
1686
|
-
<td>string to compare with <em class="parameter"><code>s1</code></em
|
1687
|
-
</td>
|
1570
|
+
<td>string to compare with <em class="parameter"><code>s1</code></em>.</td>
|
1688
1571
|
</tr>
|
1689
1572
|
<tr>
|
1690
1573
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
1691
|
-
<td>number of characters to compare
|
1692
|
-
</td>
|
1574
|
+
<td>number of characters to compare.</td>
|
1693
1575
|
</tr>
|
1694
1576
|
<tr>
|
1695
1577
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1696
|
-
<td>
|
1697
|
-
|
1698
|
-
</td>
|
1578
|
+
<td>0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1579
|
+
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.</td>
|
1699
1580
|
</tr>
|
1700
1581
|
</tbody>
|
1701
1582
|
</table></div>
|
1702
1583
|
</div>
|
1703
1584
|
<hr>
|
1704
|
-
<div class="refsect2"
|
1585
|
+
<div class="refsect2">
|
1705
1586
|
<a name="g-ascii-strup"></a><h3>g_ascii_strup ()</h3>
|
1706
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1587
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_strup (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
1707
1588
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);</pre>
|
1708
1589
|
<p>
|
1709
1590
|
Converts all lower case ASCII letters to upper case ASCII letters.
|
@@ -1713,30 +1594,27 @@ Converts all lower case ASCII letters to upper case ASCII letters.
|
|
1713
1594
|
<tbody>
|
1714
1595
|
<tr>
|
1715
1596
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1716
|
-
<td>a string
|
1717
|
-
</td>
|
1597
|
+
<td>a string.</td>
|
1718
1598
|
</tr>
|
1719
1599
|
<tr>
|
1720
1600
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
1721
|
-
<td>length of <em class="parameter"><code>str</code></em> in bytes, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated
|
1722
|
-
</td>
|
1601
|
+
<td>length of <em class="parameter"><code>str</code></em> in bytes, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated.</td>
|
1723
1602
|
</tr>
|
1724
1603
|
<tr>
|
1725
1604
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1726
|
-
<td>
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
</td>
|
1605
|
+
<td>a newly allocated string, with all the lower case
|
1606
|
+
characters in <em class="parameter"><code>str</code></em> converted to upper case, with
|
1607
|
+
semantics that exactly match <a class="link" href="glib-String-Utility-Functions.html#g-ascii-toupper" title="g_ascii_toupper ()"><code class="function">g_ascii_toupper()</code></a>. (Note
|
1608
|
+
that this is unlike the old <a class="link" href="glib-String-Utility-Functions.html#g-strup" title="g_strup ()"><code class="function">g_strup()</code></a>, which modified
|
1609
|
+
the string in place.)</td>
|
1732
1610
|
</tr>
|
1733
1611
|
</tbody>
|
1734
1612
|
</table></div>
|
1735
1613
|
</div>
|
1736
1614
|
<hr>
|
1737
|
-
<div class="refsect2"
|
1615
|
+
<div class="refsect2">
|
1738
1616
|
<a name="g-ascii-strdown"></a><h3>g_ascii_strdown ()</h3>
|
1739
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1617
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_strdown (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *str</code></em>,
|
1740
1618
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gssize" title="gssize"><span class="type">gssize</span></a> len</code></em>);</pre>
|
1741
1619
|
<p>
|
1742
1620
|
Converts all upper case ASCII letters to lower case ASCII letters.
|
@@ -1746,28 +1624,25 @@ Converts all upper case ASCII letters to lower case ASCII letters.
|
|
1746
1624
|
<tbody>
|
1747
1625
|
<tr>
|
1748
1626
|
<td><p><span class="term"><em class="parameter"><code>str</code></em> :</span></p></td>
|
1749
|
-
<td>a string
|
1750
|
-
</td>
|
1627
|
+
<td>a string.</td>
|
1751
1628
|
</tr>
|
1752
1629
|
<tr>
|
1753
1630
|
<td><p><span class="term"><em class="parameter"><code>len</code></em> :</span></p></td>
|
1754
|
-
<td>length of <em class="parameter"><code>str</code></em> in bytes, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated
|
1755
|
-
</td>
|
1631
|
+
<td>length of <em class="parameter"><code>str</code></em> in bytes, or -1 if <em class="parameter"><code>str</code></em> is nul-terminated.</td>
|
1756
1632
|
</tr>
|
1757
1633
|
<tr>
|
1758
1634
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1759
|
-
<td>
|
1760
|
-
|
1761
|
-
|
1762
|
-
|
1763
|
-
|
1764
|
-
</td>
|
1635
|
+
<td>a newly-allocated string, with all the upper case
|
1636
|
+
characters in <em class="parameter"><code>str</code></em> converted to lower case, with
|
1637
|
+
semantics that exactly match <a class="link" href="glib-String-Utility-Functions.html#g-ascii-tolower" title="g_ascii_tolower ()"><code class="function">g_ascii_tolower()</code></a>. (Note
|
1638
|
+
that this is unlike the old <a class="link" href="glib-String-Utility-Functions.html#g-strdown" title="g_strdown ()"><code class="function">g_strdown()</code></a>, which modified
|
1639
|
+
the string in place.)</td>
|
1765
1640
|
</tr>
|
1766
1641
|
</tbody>
|
1767
1642
|
</table></div>
|
1768
1643
|
</div>
|
1769
1644
|
<hr>
|
1770
|
-
<div class="refsect2"
|
1645
|
+
<div class="refsect2">
|
1771
1646
|
<a name="g-ascii-tolower"></a><h3>g_ascii_tolower ()</h3>
|
1772
1647
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> g_ascii_tolower (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1773
1648
|
<p>
|
@@ -1787,21 +1662,19 @@ before passing a possibly non-ASCII character in.
|
|
1787
1662
|
<tbody>
|
1788
1663
|
<tr>
|
1789
1664
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1790
|
-
<td>any character
|
1791
|
-
</td>
|
1665
|
+
<td>any character.</td>
|
1792
1666
|
</tr>
|
1793
1667
|
<tr>
|
1794
1668
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1795
|
-
<td>
|
1796
|
-
|
1797
|
-
|
1798
|
-
</td>
|
1669
|
+
<td>the result of converting <em class="parameter"><code>c</code></em> to lower case.
|
1670
|
+
If <em class="parameter"><code>c</code></em> is not an ASCII upper case letter,
|
1671
|
+
<em class="parameter"><code>c</code></em> is returned unchanged.</td>
|
1799
1672
|
</tr>
|
1800
1673
|
</tbody>
|
1801
1674
|
</table></div>
|
1802
1675
|
</div>
|
1803
1676
|
<hr>
|
1804
|
-
<div class="refsect2"
|
1677
|
+
<div class="refsect2">
|
1805
1678
|
<a name="g-ascii-toupper"></a><h3>g_ascii_toupper ()</h3>
|
1806
1679
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> g_ascii_toupper (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> c</code></em>);</pre>
|
1807
1680
|
<p>
|
@@ -1821,23 +1694,21 @@ before passing a possibly non-ASCII character in.
|
|
1821
1694
|
<tbody>
|
1822
1695
|
<tr>
|
1823
1696
|
<td><p><span class="term"><em class="parameter"><code>c</code></em> :</span></p></td>
|
1824
|
-
<td>any character
|
1825
|
-
</td>
|
1697
|
+
<td>any character.</td>
|
1826
1698
|
</tr>
|
1827
1699
|
<tr>
|
1828
1700
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1829
|
-
<td>
|
1830
|
-
|
1831
|
-
|
1832
|
-
</td>
|
1701
|
+
<td>the result of converting <em class="parameter"><code>c</code></em> to upper case.
|
1702
|
+
If <em class="parameter"><code>c</code></em> is not an ASCII lower case letter,
|
1703
|
+
<em class="parameter"><code>c</code></em> is returned unchanged.</td>
|
1833
1704
|
</tr>
|
1834
1705
|
</tbody>
|
1835
1706
|
</table></div>
|
1836
1707
|
</div>
|
1837
1708
|
<hr>
|
1838
|
-
<div class="refsect2"
|
1709
|
+
<div class="refsect2">
|
1839
1710
|
<a name="g-string-ascii-up"></a><h3>g_string_ascii_up ()</h3>
|
1840
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
1711
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * g_string_ascii_up (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>);</pre>
|
1841
1712
|
<p>
|
1842
1713
|
Converts all lower case ASCII letters to upper case ASCII letters.
|
1843
1714
|
</p>
|
@@ -1846,23 +1717,21 @@ Converts all lower case ASCII letters to upper case ASCII letters.
|
|
1846
1717
|
<tbody>
|
1847
1718
|
<tr>
|
1848
1719
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1849
|
-
<td>a GString
|
1850
|
-
</td>
|
1720
|
+
<td>a GString</td>
|
1851
1721
|
</tr>
|
1852
1722
|
<tr>
|
1853
1723
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1854
|
-
<td>
|
1855
|
-
|
1856
|
-
|
1857
|
-
</td>
|
1724
|
+
<td>passed-in <em class="parameter"><code>string</code></em> pointer, with all the lower case
|
1725
|
+
characters converted to upper case in place, with
|
1726
|
+
semantics that exactly match <a class="link" href="glib-String-Utility-Functions.html#g-ascii-toupper" title="g_ascii_toupper ()"><code class="function">g_ascii_toupper()</code></a>.</td>
|
1858
1727
|
</tr>
|
1859
1728
|
</tbody>
|
1860
1729
|
</table></div>
|
1861
1730
|
</div>
|
1862
1731
|
<hr>
|
1863
|
-
<div class="refsect2"
|
1732
|
+
<div class="refsect2">
|
1864
1733
|
<a name="g-string-ascii-down"></a><h3>g_string_ascii_down ()</h3>
|
1865
|
-
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="GString"><span class="returnvalue">GString</span></a
|
1734
|
+
<pre class="programlisting"><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="returnvalue">GString</span></a> * g_string_ascii_down (<em class="parameter"><code><a class="link" href="glib-Strings.html#GString" title="struct GString"><span class="type">GString</span></a> *string</code></em>);</pre>
|
1866
1735
|
<p>
|
1867
1736
|
Converts all upper case ASCII letters to lower case ASCII letters.
|
1868
1737
|
</p>
|
@@ -1871,24 +1740,22 @@ Converts all upper case ASCII letters to lower case ASCII letters.
|
|
1871
1740
|
<tbody>
|
1872
1741
|
<tr>
|
1873
1742
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1874
|
-
<td>a GString
|
1875
|
-
</td>
|
1743
|
+
<td>a GString</td>
|
1876
1744
|
</tr>
|
1877
1745
|
<tr>
|
1878
1746
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1879
|
-
<td>
|
1880
|
-
|
1881
|
-
|
1882
|
-
</td>
|
1747
|
+
<td>passed-in <em class="parameter"><code>string</code></em> pointer, with all the upper case
|
1748
|
+
characters converted to lower case in place, with
|
1749
|
+
semantics that exactly match <a class="link" href="glib-String-Utility-Functions.html#g-ascii-tolower" title="g_ascii_tolower ()"><code class="function">g_ascii_tolower()</code></a>.</td>
|
1883
1750
|
</tr>
|
1884
1751
|
</tbody>
|
1885
1752
|
</table></div>
|
1886
1753
|
</div>
|
1887
1754
|
<hr>
|
1888
|
-
<div class="refsect2"
|
1755
|
+
<div class="refsect2">
|
1889
1756
|
<a name="g-strup"></a><h3>g_strup ()</h3>
|
1890
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1891
|
-
<div class="warning"
|
1757
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strup (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1758
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1892
1759
|
<h3 class="title">Warning</h3>
|
1893
1760
|
<p><code class="literal">g_strup</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1894
1761
|
in the <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> docs - use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strup" title="g_ascii_strup ()"><code class="function">g_ascii_strup()</code></a> or <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strup" title="g_utf8_strup ()"><code class="function">g_utf8_strup()</code></a> instead.</p>
|
@@ -1901,23 +1768,20 @@ Converts a string to upper case.
|
|
1901
1768
|
<tbody>
|
1902
1769
|
<tr>
|
1903
1770
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1904
|
-
<td>the string to convert
|
1905
|
-
</td>
|
1771
|
+
<td>the string to convert.</td>
|
1906
1772
|
</tr>
|
1907
1773
|
<tr>
|
1908
1774
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1909
|
-
<td>
|
1910
|
-
|
1911
|
-
</td>
|
1775
|
+
<td>the string</td>
|
1912
1776
|
</tr>
|
1913
1777
|
</tbody>
|
1914
1778
|
</table></div>
|
1915
1779
|
</div>
|
1916
1780
|
<hr>
|
1917
|
-
<div class="refsect2"
|
1781
|
+
<div class="refsect2">
|
1918
1782
|
<a name="g-strdown"></a><h3>g_strdown ()</h3>
|
1919
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1920
|
-
<div class="warning"
|
1783
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdown (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
1784
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1921
1785
|
<h3 class="title">Warning</h3>
|
1922
1786
|
<p><code class="literal">g_strdown</code> has been deprecated since version 2.2 and should not be used in newly-written code. This function is totally broken for the reasons discussed
|
1923
1787
|
in the <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> docs - use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-strdown" title="g_ascii_strdown ()"><code class="function">g_ascii_strdown()</code></a> or <a class="link" href="glib-Unicode-Manipulation.html#g-utf8-strdown" title="g_utf8_strdown ()"><code class="function">g_utf8_strdown()</code></a>
|
@@ -1931,24 +1795,21 @@ Converts a string to lower case.
|
|
1931
1795
|
<tbody>
|
1932
1796
|
<tr>
|
1933
1797
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
1934
|
-
<td>the string to convert
|
1935
|
-
</td>
|
1798
|
+
<td>the string to convert.</td>
|
1936
1799
|
</tr>
|
1937
1800
|
<tr>
|
1938
1801
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1939
|
-
<td>
|
1940
|
-
|
1941
|
-
</td>
|
1802
|
+
<td>the string</td>
|
1942
1803
|
</tr>
|
1943
1804
|
</tbody>
|
1944
1805
|
</table></div>
|
1945
1806
|
</div>
|
1946
1807
|
<hr>
|
1947
|
-
<div class="refsect2"
|
1808
|
+
<div class="refsect2">
|
1948
1809
|
<a name="g-strcasecmp"></a><h3>g_strcasecmp ()</h3>
|
1949
1810
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_strcasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1950
1811
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>);</pre>
|
1951
|
-
<div class="warning"
|
1812
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1952
1813
|
<h3 class="title">Warning</h3>
|
1953
1814
|
<p><code class="literal">g_strcasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. See <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> for a discussion of why this function
|
1954
1815
|
is deprecated and how to replace it.</p>
|
@@ -1962,31 +1823,27 @@ A case-insensitive string comparison, corresponding to the standard
|
|
1962
1823
|
<tbody>
|
1963
1824
|
<tr>
|
1964
1825
|
<td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
|
1965
|
-
<td>a string
|
1966
|
-
</td>
|
1826
|
+
<td>a string.</td>
|
1967
1827
|
</tr>
|
1968
1828
|
<tr>
|
1969
1829
|
<td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
|
1970
|
-
<td>a string to compare with <em class="parameter"><code>s1</code></em
|
1971
|
-
</td>
|
1830
|
+
<td>a string to compare with <em class="parameter"><code>s1</code></em>.</td>
|
1972
1831
|
</tr>
|
1973
1832
|
<tr>
|
1974
1833
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
1975
|
-
<td>
|
1976
|
-
|
1977
|
-
|
1978
|
-
</td>
|
1834
|
+
<td>0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1835
|
+
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.</td>
|
1979
1836
|
</tr>
|
1980
1837
|
</tbody>
|
1981
1838
|
</table></div>
|
1982
1839
|
</div>
|
1983
1840
|
<hr>
|
1984
|
-
<div class="refsect2"
|
1841
|
+
<div class="refsect2">
|
1985
1842
|
<a name="g-strncasecmp"></a><h3>g_strncasecmp ()</h3>
|
1986
1843
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> g_strncasecmp (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s1</code></em>,
|
1987
1844
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *s2</code></em>,
|
1988
1845
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="type">guint</span></a> n</code></em>);</pre>
|
1989
|
-
<div class="warning"
|
1846
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
1990
1847
|
<h3 class="title">Warning</h3>
|
1991
1848
|
<p><code class="literal">g_strncasecmp</code> has been deprecated since version 2.2 and should not be used in newly-written code. The problem with <a class="link" href="glib-String-Utility-Functions.html#g-strncasecmp" title="g_strncasecmp ()"><code class="function">g_strncasecmp()</code></a> is that it does the
|
1992
1849
|
comparison by calling <code class="function">toupper()</code>/<code class="function">tolower()</code>. These functions are
|
@@ -2014,33 +1871,28 @@ characters of the strings.
|
|
2014
1871
|
<tbody>
|
2015
1872
|
<tr>
|
2016
1873
|
<td><p><span class="term"><em class="parameter"><code>s1</code></em> :</span></p></td>
|
2017
|
-
<td>a string
|
2018
|
-
</td>
|
1874
|
+
<td>a string.</td>
|
2019
1875
|
</tr>
|
2020
1876
|
<tr>
|
2021
1877
|
<td><p><span class="term"><em class="parameter"><code>s2</code></em> :</span></p></td>
|
2022
|
-
<td>a string to compare with <em class="parameter"><code>s1</code></em
|
2023
|
-
</td>
|
1878
|
+
<td>a string to compare with <em class="parameter"><code>s1</code></em>.</td>
|
2024
1879
|
</tr>
|
2025
1880
|
<tr>
|
2026
1881
|
<td><p><span class="term"><em class="parameter"><code>n</code></em> :</span></p></td>
|
2027
|
-
<td>the maximum number of characters to compare
|
2028
|
-
</td>
|
1882
|
+
<td>the maximum number of characters to compare.</td>
|
2029
1883
|
</tr>
|
2030
1884
|
<tr>
|
2031
1885
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2032
|
-
<td>
|
2033
|
-
|
2034
|
-
|
2035
|
-
</td>
|
1886
|
+
<td>0 if the strings match, a negative value if <em class="parameter"><code>s1</code></em> < <em class="parameter"><code>s2</code></em>,
|
1887
|
+
or a positive value if <em class="parameter"><code>s1</code></em> > <em class="parameter"><code>s2</code></em>.</td>
|
2036
1888
|
</tr>
|
2037
1889
|
</tbody>
|
2038
1890
|
</table></div>
|
2039
1891
|
</div>
|
2040
1892
|
<hr>
|
2041
|
-
<div class="refsect2"
|
1893
|
+
<div class="refsect2">
|
2042
1894
|
<a name="g-strreverse"></a><h3>g_strreverse ()</h3>
|
2043
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
1895
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strreverse (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2044
1896
|
<p>
|
2045
1897
|
Reverses all of the bytes in a string. For example,
|
2046
1898
|
<code class="literal">g_strreverse ("abcdef")</code> will result
|
@@ -2056,19 +1908,18 @@ containing multibyte characters. For that purpose, use
|
|
2056
1908
|
<tbody>
|
2057
1909
|
<tr>
|
2058
1910
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2059
|
-
<td>the string to reverse
|
2060
|
-
</td>
|
1911
|
+
<td>the string to reverse</td>
|
2061
1912
|
</tr>
|
2062
1913
|
<tr>
|
2063
1914
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2064
|
-
<td>
|
1915
|
+
<td>the same pointer passed in as <em class="parameter"><code>string</code></em>
|
2065
1916
|
</td>
|
2066
1917
|
</tr>
|
2067
1918
|
</tbody>
|
2068
1919
|
</table></div>
|
2069
1920
|
</div>
|
2070
1921
|
<hr>
|
2071
|
-
<div class="refsect2"
|
1922
|
+
<div class="refsect2">
|
2072
1923
|
<a name="g-ascii-strtoll"></a><h3>g_ascii_strtoll ()</h3>
|
2073
1924
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="returnvalue">gint64</span></a> g_ascii_strtoll (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2074
1925
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -2098,32 +1949,27 @@ in <code class="literal">errno</code>. If the string conversion fails, zero is
|
|
2098
1949
|
<tbody>
|
2099
1950
|
<tr>
|
2100
1951
|
<td><p><span class="term"><em class="parameter"><code>nptr</code></em> :</span></p></td>
|
2101
|
-
<td>the string to convert to a numeric value
|
2102
|
-
</td>
|
1952
|
+
<td>the string to convert to a numeric value.</td>
|
2103
1953
|
</tr>
|
2104
1954
|
<tr>
|
2105
1955
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
2106
1956
|
<td>if non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, it returns the character after
|
2107
|
-
|
2108
|
-
</td>
|
1957
|
+
the last character used in the conversion.</td>
|
2109
1958
|
</tr>
|
2110
1959
|
<tr>
|
2111
1960
|
<td><p><span class="term"><em class="parameter"><code>base</code></em> :</span></p></td>
|
2112
|
-
<td>to be used for the conversion, 2..36 or 0
|
2113
|
-
</td>
|
1961
|
+
<td>to be used for the conversion, 2..36 or 0</td>
|
2114
1962
|
</tr>
|
2115
1963
|
<tr>
|
2116
1964
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2117
|
-
<td>
|
2118
|
-
|
2119
|
-
</td>
|
1965
|
+
<td>the <a class="link" href="glib-Basic-Types.html#gint64" title="gint64"><span class="type">gint64</span></a> value or zero on error.</td>
|
2120
1966
|
</tr>
|
2121
1967
|
</tbody>
|
2122
1968
|
</table></div>
|
2123
1969
|
<p class="since">Since 2.12</p>
|
2124
1970
|
</div>
|
2125
1971
|
<hr>
|
2126
|
-
<div class="refsect2"
|
1972
|
+
<div class="refsect2">
|
2127
1973
|
<a name="g-ascii-strtoull"></a><h3>g_ascii_strtoull ()</h3>
|
2128
1974
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="returnvalue">guint64</span></a> g_ascii_strtoull (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2129
1975
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>,
|
@@ -2153,32 +1999,27 @@ in <code class="literal">errno</code>. If the string conversion fails, zero is
|
|
2153
1999
|
<tbody>
|
2154
2000
|
<tr>
|
2155
2001
|
<td><p><span class="term"><em class="parameter"><code>nptr</code></em> :</span></p></td>
|
2156
|
-
<td>the string to convert to a numeric value
|
2157
|
-
</td>
|
2002
|
+
<td>the string to convert to a numeric value.</td>
|
2158
2003
|
</tr>
|
2159
2004
|
<tr>
|
2160
2005
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
2161
2006
|
<td>if non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, it returns the character after
|
2162
|
-
|
2163
|
-
</td>
|
2007
|
+
the last character used in the conversion.</td>
|
2164
2008
|
</tr>
|
2165
2009
|
<tr>
|
2166
2010
|
<td><p><span class="term"><em class="parameter"><code>base</code></em> :</span></p></td>
|
2167
|
-
<td>to be used for the conversion, 2..36 or 0
|
2168
|
-
</td>
|
2011
|
+
<td>to be used for the conversion, 2..36 or 0</td>
|
2169
2012
|
</tr>
|
2170
2013
|
<tr>
|
2171
2014
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2172
|
-
<td>
|
2173
|
-
|
2174
|
-
</td>
|
2015
|
+
<td>the <a class="link" href="glib-Basic-Types.html#guint64" title="guint64"><span class="type">guint64</span></a> value or zero on error.</td>
|
2175
2016
|
</tr>
|
2176
2017
|
</tbody>
|
2177
2018
|
</table></div>
|
2178
2019
|
<p class="since">Since 2.2</p>
|
2179
2020
|
</div>
|
2180
2021
|
<hr>
|
2181
|
-
<div class="refsect2"
|
2022
|
+
<div class="refsect2">
|
2182
2023
|
<a name="G-ASCII-DTOSTR-BUF-SIZE:CAPS"></a><h3>G_ASCII_DTOSTR_BUF_SIZE</h3>
|
2183
2024
|
<pre class="programlisting">#define G_ASCII_DTOSTR_BUF_SIZE (29 + 10)
|
2184
2025
|
</pre>
|
@@ -2207,7 +2048,7 @@ The typical usage would be something like:
|
|
2207
2048
|
</p>
|
2208
2049
|
</div>
|
2209
2050
|
<hr>
|
2210
|
-
<div class="refsect2"
|
2051
|
+
<div class="refsect2">
|
2211
2052
|
<a name="g-ascii-strtod"></a><h3>g_ascii_strtod ()</h3>
|
2212
2053
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_ascii_strtod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2213
2054
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
@@ -2246,27 +2087,24 @@ you can reliably detect overflow and underflow.
|
|
2246
2087
|
<tbody>
|
2247
2088
|
<tr>
|
2248
2089
|
<td><p><span class="term"><em class="parameter"><code>nptr</code></em> :</span></p></td>
|
2249
|
-
<td>the string to convert to a numeric value
|
2250
|
-
</td>
|
2090
|
+
<td>the string to convert to a numeric value.</td>
|
2251
2091
|
</tr>
|
2252
2092
|
<tr>
|
2253
2093
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
2254
2094
|
<td>if non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, it returns the character after
|
2255
|
-
|
2256
|
-
</td>
|
2095
|
+
the last character used in the conversion.</td>
|
2257
2096
|
</tr>
|
2258
2097
|
<tr>
|
2259
2098
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2260
|
-
<td>
|
2261
|
-
</td>
|
2099
|
+
<td>the <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value.</td>
|
2262
2100
|
</tr>
|
2263
2101
|
</tbody>
|
2264
2102
|
</table></div>
|
2265
2103
|
</div>
|
2266
2104
|
<hr>
|
2267
|
-
<div class="refsect2"
|
2105
|
+
<div class="refsect2">
|
2268
2106
|
<a name="g-ascii-dtostr"></a><h3>g_ascii_dtostr ()</h3>
|
2269
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2107
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_dtostr (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
2270
2108
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
2271
2109
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);</pre>
|
2272
2110
|
<p>
|
@@ -2285,31 +2123,27 @@ be larger than <em class="parameter"><code>G_ASCII_DTOSTR_BUF_SIZE</code></em> b
|
|
2285
2123
|
<tbody>
|
2286
2124
|
<tr>
|
2287
2125
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
2288
|
-
<td>A buffer to place the resulting string in
|
2289
|
-
</td>
|
2126
|
+
<td>A buffer to place the resulting string in</td>
|
2290
2127
|
</tr>
|
2291
2128
|
<tr>
|
2292
2129
|
<td><p><span class="term"><em class="parameter"><code>buf_len</code></em> :</span></p></td>
|
2293
|
-
<td>The length of the buffer
|
2294
|
-
</td>
|
2130
|
+
<td>The length of the buffer.</td>
|
2295
2131
|
</tr>
|
2296
2132
|
<tr>
|
2297
2133
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
2298
|
-
<td>The <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to convert
|
2299
|
-
</td>
|
2134
|
+
<td>The <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to convert</td>
|
2300
2135
|
</tr>
|
2301
2136
|
<tr>
|
2302
2137
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2303
|
-
<td>
|
2304
|
-
</td>
|
2138
|
+
<td>The pointer to the buffer with the converted string.</td>
|
2305
2139
|
</tr>
|
2306
2140
|
</tbody>
|
2307
2141
|
</table></div>
|
2308
2142
|
</div>
|
2309
2143
|
<hr>
|
2310
|
-
<div class="refsect2"
|
2144
|
+
<div class="refsect2">
|
2311
2145
|
<a name="g-ascii-formatd"></a><h3>g_ascii_formatd ()</h3>
|
2312
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *
|
2146
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_ascii_formatd (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *buffer</code></em>,
|
2313
2147
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> buf_len</code></em>,
|
2314
2148
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *format</code></em>,
|
2315
2149
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> d</code></em>);</pre>
|
@@ -2328,35 +2162,30 @@ string, use <a class="link" href="glib-String-Utility-Functions.html#g-ascii-dto
|
|
2328
2162
|
<tbody>
|
2329
2163
|
<tr>
|
2330
2164
|
<td><p><span class="term"><em class="parameter"><code>buffer</code></em> :</span></p></td>
|
2331
|
-
<td>A buffer to place the resulting string in
|
2332
|
-
</td>
|
2165
|
+
<td>A buffer to place the resulting string in</td>
|
2333
2166
|
</tr>
|
2334
2167
|
<tr>
|
2335
2168
|
<td><p><span class="term"><em class="parameter"><code>buf_len</code></em> :</span></p></td>
|
2336
|
-
<td>The length of the buffer
|
2337
|
-
</td>
|
2169
|
+
<td>The length of the buffer.</td>
|
2338
2170
|
</tr>
|
2339
2171
|
<tr>
|
2340
2172
|
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
|
2341
2173
|
<td>The <code class="function">printf()</code>-style format to use for the
|
2342
|
-
|
2343
|
-
</td>
|
2174
|
+
code to use for converting.</td>
|
2344
2175
|
</tr>
|
2345
2176
|
<tr>
|
2346
2177
|
<td><p><span class="term"><em class="parameter"><code>d</code></em> :</span></p></td>
|
2347
|
-
<td>The <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to convert
|
2348
|
-
</td>
|
2178
|
+
<td>The <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> to convert</td>
|
2349
2179
|
</tr>
|
2350
2180
|
<tr>
|
2351
2181
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2352
|
-
<td>
|
2353
|
-
</td>
|
2182
|
+
<td>The pointer to the buffer with the converted string.</td>
|
2354
2183
|
</tr>
|
2355
2184
|
</tbody>
|
2356
2185
|
</table></div>
|
2357
2186
|
</div>
|
2358
2187
|
<hr>
|
2359
|
-
<div class="refsect2"
|
2188
|
+
<div class="refsect2">
|
2360
2189
|
<a name="g-strtod"></a><h3>g_strtod ()</h3>
|
2361
2190
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="returnvalue">gdouble</span></a> g_strtod (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *nptr</code></em>,
|
2362
2191
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **endptr</code></em>);</pre>
|
@@ -2379,27 +2208,24 @@ point in some locales, causing unexpected results.
|
|
2379
2208
|
<tbody>
|
2380
2209
|
<tr>
|
2381
2210
|
<td><p><span class="term"><em class="parameter"><code>nptr</code></em> :</span></p></td>
|
2382
|
-
<td>the string to convert to a numeric value
|
2383
|
-
</td>
|
2211
|
+
<td>the string to convert to a numeric value.</td>
|
2384
2212
|
</tr>
|
2385
2213
|
<tr>
|
2386
2214
|
<td><p><span class="term"><em class="parameter"><code>endptr</code></em> :</span></p></td>
|
2387
2215
|
<td>if non-<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, it returns the character after
|
2388
|
-
|
2389
|
-
</td>
|
2216
|
+
the last character used in the conversion.</td>
|
2390
2217
|
</tr>
|
2391
2218
|
<tr>
|
2392
2219
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2393
|
-
<td>
|
2394
|
-
</td>
|
2220
|
+
<td>the <a class="link" href="glib-Basic-Types.html#gdouble" title="gdouble"><span class="type">gdouble</span></a> value.</td>
|
2395
2221
|
</tr>
|
2396
2222
|
</tbody>
|
2397
2223
|
</table></div>
|
2398
2224
|
</div>
|
2399
2225
|
<hr>
|
2400
|
-
<div class="refsect2"
|
2226
|
+
<div class="refsect2">
|
2401
2227
|
<a name="g-strchug"></a><h3>g_strchug ()</h3>
|
2402
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2228
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strchug (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2403
2229
|
<p>
|
2404
2230
|
Removes leading whitespace from a string, by moving the rest of the
|
2405
2231
|
characters forward.
|
@@ -2416,22 +2242,20 @@ Also see <a class="link" href="glib-String-Utility-Functions.html#g-strchomp" ti
|
|
2416
2242
|
<tbody>
|
2417
2243
|
<tr>
|
2418
2244
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2419
|
-
<td>a string to remove the leading whitespace from
|
2420
|
-
</td>
|
2245
|
+
<td>a string to remove the leading whitespace from.</td>
|
2421
2246
|
</tr>
|
2422
2247
|
<tr>
|
2423
2248
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2424
2249
|
<td>
|
2425
|
-
<em class="parameter"><code>string</code></em
|
2426
|
-
</td>
|
2250
|
+
<em class="parameter"><code>string</code></em>.</td>
|
2427
2251
|
</tr>
|
2428
2252
|
</tbody>
|
2429
2253
|
</table></div>
|
2430
2254
|
</div>
|
2431
2255
|
<hr>
|
2432
|
-
<div class="refsect2"
|
2256
|
+
<div class="refsect2">
|
2433
2257
|
<a name="g-strchomp"></a><h3>g_strchomp ()</h3>
|
2434
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2258
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strchomp (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>);</pre>
|
2435
2259
|
<p>
|
2436
2260
|
Removes trailing whitespace from a string.
|
2437
2261
|
</p>
|
@@ -2447,20 +2271,18 @@ Also see <a class="link" href="glib-String-Utility-Functions.html#g-strchug" tit
|
|
2447
2271
|
<tbody>
|
2448
2272
|
<tr>
|
2449
2273
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2450
|
-
<td>a string to remove the trailing whitespace from
|
2451
|
-
</td>
|
2274
|
+
<td>a string to remove the trailing whitespace from.</td>
|
2452
2275
|
</tr>
|
2453
2276
|
<tr>
|
2454
2277
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2455
2278
|
<td>
|
2456
|
-
<em class="parameter"><code>string</code></em
|
2457
|
-
</td>
|
2279
|
+
<em class="parameter"><code>string</code></em>.</td>
|
2458
2280
|
</tr>
|
2459
2281
|
</tbody>
|
2460
2282
|
</table></div>
|
2461
2283
|
</div>
|
2462
2284
|
<hr>
|
2463
|
-
<div class="refsect2"
|
2285
|
+
<div class="refsect2">
|
2464
2286
|
<a name="g-strstrip"></a><h3>g_strstrip()</h3>
|
2465
2287
|
<pre class="programlisting">#define g_strstrip( string )</pre>
|
2466
2288
|
<p>
|
@@ -2471,15 +2293,14 @@ Removes leading and trailing whitespace from a string. See <a class="link" href=
|
|
2471
2293
|
<col align="left" valign="top">
|
2472
2294
|
<tbody><tr>
|
2473
2295
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2474
|
-
<td>a string to remove the leading and trailing whitespace from
|
2475
|
-
</td>
|
2296
|
+
<td>a string to remove the leading and trailing whitespace from.</td>
|
2476
2297
|
</tr></tbody>
|
2477
2298
|
</table></div>
|
2478
2299
|
</div>
|
2479
2300
|
<hr>
|
2480
|
-
<div class="refsect2"
|
2301
|
+
<div class="refsect2">
|
2481
2302
|
<a name="g-strdelimit"></a><h3>g_strdelimit ()</h3>
|
2482
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2303
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strdelimit (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2483
2304
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
2484
2305
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> new_delimiter</code></em>);</pre>
|
2485
2306
|
<p>
|
@@ -2494,31 +2315,27 @@ to the <em class="parameter"><code>new_delimiter</code></em> character. Modifies
|
|
2494
2315
|
<tbody>
|
2495
2316
|
<tr>
|
2496
2317
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2497
|
-
<td>the string to convert
|
2498
|
-
</td>
|
2318
|
+
<td>the string to convert.</td>
|
2499
2319
|
</tr>
|
2500
2320
|
<tr>
|
2501
2321
|
<td><p><span class="term"><em class="parameter"><code>delimiters</code></em> :</span></p></td>
|
2502
2322
|
<td>a string containing the current delimiters, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to use the
|
2503
|
-
standard delimiters defined in <a class="link" href="glib-String-Utility-Functions.html#G-STR-DELIMITERS:CAPS" title="G_STR_DELIMITERS"><span class="type">G_STR_DELIMITERS</span></a
|
2504
|
-
</td>
|
2323
|
+
standard delimiters defined in <a class="link" href="glib-String-Utility-Functions.html#G-STR-DELIMITERS:CAPS" title="G_STR_DELIMITERS"><span class="type">G_STR_DELIMITERS</span></a>.</td>
|
2505
2324
|
</tr>
|
2506
2325
|
<tr>
|
2507
2326
|
<td><p><span class="term"><em class="parameter"><code>new_delimiter</code></em> :</span></p></td>
|
2508
|
-
<td>the new delimiter character
|
2509
|
-
</td>
|
2327
|
+
<td>the new delimiter character.</td>
|
2510
2328
|
</tr>
|
2511
2329
|
<tr>
|
2512
2330
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2513
2331
|
<td>
|
2514
|
-
<em class="parameter"><code>string</code></em
|
2515
|
-
</td>
|
2332
|
+
<em class="parameter"><code>string</code></em>.</td>
|
2516
2333
|
</tr>
|
2517
2334
|
</tbody>
|
2518
2335
|
</table></div>
|
2519
2336
|
</div>
|
2520
2337
|
<hr>
|
2521
|
-
<div class="refsect2"
|
2338
|
+
<div class="refsect2">
|
2522
2339
|
<a name="G-STR-DELIMITERS:CAPS"></a><h3>G_STR_DELIMITERS</h3>
|
2523
2340
|
<pre class="programlisting">#define G_STR_DELIMITERS "_-|> <."
|
2524
2341
|
</pre>
|
@@ -2527,9 +2344,9 @@ The standard delimiters, used in <a class="link" href="glib-String-Utility-Funct
|
|
2527
2344
|
</p>
|
2528
2345
|
</div>
|
2529
2346
|
<hr>
|
2530
|
-
<div class="refsect2"
|
2347
|
+
<div class="refsect2">
|
2531
2348
|
<a name="g-strescape"></a><h3>g_strescape ()</h3>
|
2532
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2349
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strescape (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>,
|
2533
2350
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *exceptions</code></em>);</pre>
|
2534
2351
|
<p>
|
2535
2352
|
Escapes the special characters '\b', '\f', '\n', '\r', '\t', '\' and
|
@@ -2547,27 +2364,24 @@ supplied in <em class="parameter"><code>exceptions</code></em> are not escaped.
|
|
2547
2364
|
<tbody>
|
2548
2365
|
<tr>
|
2549
2366
|
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
2550
|
-
<td>a string to escape
|
2551
|
-
</td>
|
2367
|
+
<td>a string to escape.</td>
|
2552
2368
|
</tr>
|
2553
2369
|
<tr>
|
2554
2370
|
<td><p><span class="term"><em class="parameter"><code>exceptions</code></em> :</span></p></td>
|
2555
|
-
<td>a string of characters not to escape in <em class="parameter"><code>source</code></em
|
2556
|
-
</td>
|
2371
|
+
<td>a string of characters not to escape in <em class="parameter"><code>source</code></em>.</td>
|
2557
2372
|
</tr>
|
2558
2373
|
<tr>
|
2559
2374
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2560
2375
|
<td>a newly-allocated copy of <em class="parameter"><code>source</code></em> with certain
|
2561
|
-
characters escaped. See above
|
2562
|
-
</td>
|
2376
|
+
characters escaped. See above.</td>
|
2563
2377
|
</tr>
|
2564
2378
|
</tbody>
|
2565
2379
|
</table></div>
|
2566
2380
|
</div>
|
2567
2381
|
<hr>
|
2568
|
-
<div class="refsect2"
|
2382
|
+
<div class="refsect2">
|
2569
2383
|
<a name="g-strcompress"></a><h3>g_strcompress ()</h3>
|
2570
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2384
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strcompress (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *source</code></em>);</pre>
|
2571
2385
|
<p>
|
2572
2386
|
Replaces all escaped characters with their one byte equivalent. It
|
2573
2387
|
does the reverse conversion of <a class="link" href="glib-String-Utility-Functions.html#g-strescape" title="g_strescape ()"><code class="function">g_strescape()</code></a>.
|
@@ -2577,22 +2391,20 @@ does the reverse conversion of <a class="link" href="glib-String-Utility-Functio
|
|
2577
2391
|
<tbody>
|
2578
2392
|
<tr>
|
2579
2393
|
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
|
2580
|
-
<td>a string to compress
|
2581
|
-
</td>
|
2394
|
+
<td>a string to compress.</td>
|
2582
2395
|
</tr>
|
2583
2396
|
<tr>
|
2584
2397
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2585
|
-
<td>a newly-allocated copy of <em class="parameter"><code>source</code></em> with all escaped
|
2586
|
-
character compressed
|
2587
|
-
</td>
|
2398
|
+
<td>a newly-allocated copy of <em class="parameter"><code>source</code></em> with all escaped
|
2399
|
+
character compressed.</td>
|
2588
2400
|
</tr>
|
2589
2401
|
</tbody>
|
2590
2402
|
</table></div>
|
2591
2403
|
</div>
|
2592
2404
|
<hr>
|
2593
|
-
<div class="refsect2"
|
2405
|
+
<div class="refsect2">
|
2594
2406
|
<a name="g-strcanon"></a><h3>g_strcanon ()</h3>
|
2595
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2407
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strcanon (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2596
2408
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *valid_chars</code></em>,
|
2597
2409
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> substitutor</code></em>);</pre>
|
2598
2410
|
<p>
|
@@ -2606,32 +2418,28 @@ nesting such as <code class="literal">g_ascii_strup (g_strcanon (str, "abc", '?'
|
|
2606
2418
|
<tbody>
|
2607
2419
|
<tr>
|
2608
2420
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2609
|
-
<td>a nul-terminated array of bytes
|
2610
|
-
</td>
|
2421
|
+
<td>a nul-terminated array of bytes.</td>
|
2611
2422
|
</tr>
|
2612
2423
|
<tr>
|
2613
2424
|
<td><p><span class="term"><em class="parameter"><code>valid_chars</code></em> :</span></p></td>
|
2614
|
-
<td>bytes permitted in <em class="parameter"><code>string</code></em
|
2615
|
-
</td>
|
2425
|
+
<td>bytes permitted in <em class="parameter"><code>string</code></em>.</td>
|
2616
2426
|
</tr>
|
2617
2427
|
<tr>
|
2618
2428
|
<td><p><span class="term"><em class="parameter"><code>substitutor</code></em> :</span></p></td>
|
2619
|
-
<td>replacement character for disallowed bytes
|
2620
|
-
</td>
|
2429
|
+
<td>replacement character for disallowed bytes.</td>
|
2621
2430
|
</tr>
|
2622
2431
|
<tr>
|
2623
2432
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2624
2433
|
<td>
|
2625
|
-
<em class="parameter"><code>string</code></em
|
2626
|
-
</td>
|
2434
|
+
<em class="parameter"><code>string</code></em>.</td>
|
2627
2435
|
</tr>
|
2628
2436
|
</tbody>
|
2629
2437
|
</table></div>
|
2630
2438
|
</div>
|
2631
2439
|
<hr>
|
2632
|
-
<div class="refsect2"
|
2440
|
+
<div class="refsect2">
|
2633
2441
|
<a name="g-strsplit"></a><h3>g_strsplit ()</h3>
|
2634
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2442
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strsplit (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2635
2443
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiter</code></em>,
|
2636
2444
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>);</pre>
|
2637
2445
|
<p>
|
@@ -2652,35 +2460,31 @@ before calling <a class="link" href="glib-String-Utility-Functions.html#g-strspl
|
|
2652
2460
|
<tbody>
|
2653
2461
|
<tr>
|
2654
2462
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2655
|
-
<td>a string to split
|
2656
|
-
</td>
|
2463
|
+
<td>a string to split.</td>
|
2657
2464
|
</tr>
|
2658
2465
|
<tr>
|
2659
2466
|
<td><p><span class="term"><em class="parameter"><code>delimiter</code></em> :</span></p></td>
|
2660
2467
|
<td>a string which specifies the places at which to split the string.
|
2661
|
-
|
2662
|
-
|
2663
|
-
</td>
|
2468
|
+
The delimiter is not included in any of the resulting strings, unless
|
2469
|
+
<em class="parameter"><code>max_tokens</code></em> is reached.</td>
|
2664
2470
|
</tr>
|
2665
2471
|
<tr>
|
2666
2472
|
<td><p><span class="term"><em class="parameter"><code>max_tokens</code></em> :</span></p></td>
|
2667
2473
|
<td>the maximum number of pieces to split <em class="parameter"><code>string</code></em> into. If this is
|
2668
|
-
|
2669
|
-
</td>
|
2474
|
+
less than 1, the string is split completely.</td>
|
2670
2475
|
</tr>
|
2671
2476
|
<tr>
|
2672
2477
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2673
|
-
<td>
|
2674
|
-
|
2675
|
-
</td>
|
2478
|
+
<td>a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2479
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.</td>
|
2676
2480
|
</tr>
|
2677
2481
|
</tbody>
|
2678
2482
|
</table></div>
|
2679
2483
|
</div>
|
2680
2484
|
<hr>
|
2681
|
-
<div class="refsect2"
|
2485
|
+
<div class="refsect2">
|
2682
2486
|
<a name="g-strsplit-set"></a><h3>g_strsplit_set ()</h3>
|
2683
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **
|
2487
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> ** g_strsplit_set (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string</code></em>,
|
2684
2488
|
<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *delimiters</code></em>,
|
2685
2489
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> max_tokens</code></em>);</pre>
|
2686
2490
|
<p>
|
@@ -2715,34 +2519,29 @@ to delimit UTF-8 strings for anything but ASCII characters.
|
|
2715
2519
|
<tbody>
|
2716
2520
|
<tr>
|
2717
2521
|
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
|
2718
|
-
<td>The string to be tokenized
|
2719
|
-
</td>
|
2522
|
+
<td>The string to be tokenized</td>
|
2720
2523
|
</tr>
|
2721
2524
|
<tr>
|
2722
2525
|
<td><p><span class="term"><em class="parameter"><code>delimiters</code></em> :</span></p></td>
|
2723
2526
|
<td>A nul-terminated string containing bytes that are used
|
2724
|
-
|
2725
|
-
</td>
|
2527
|
+
to split the string.</td>
|
2726
2528
|
</tr>
|
2727
2529
|
<tr>
|
2728
2530
|
<td><p><span class="term"><em class="parameter"><code>max_tokens</code></em> :</span></p></td>
|
2729
2531
|
<td>The maximum number of tokens to split <em class="parameter"><code>string</code></em> into.
|
2730
|
-
|
2731
|
-
</td>
|
2532
|
+
If this is less than 1, the string is split completely</td>
|
2732
2533
|
</tr>
|
2733
2534
|
<tr>
|
2734
2535
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2735
|
-
<td>
|
2736
|
-
|
2737
|
-
|
2738
|
-
</td>
|
2536
|
+
<td>a newly-allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings. Use
|
2537
|
+
<a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.</td>
|
2739
2538
|
</tr>
|
2740
2539
|
</tbody>
|
2741
2540
|
</table></div>
|
2742
2541
|
<p class="since">Since 2.4</p>
|
2743
2542
|
</div>
|
2744
2543
|
<hr>
|
2745
|
-
<div class="refsect2"
|
2544
|
+
<div class="refsect2">
|
2746
2545
|
<a name="g-strfreev"></a><h3>g_strfreev ()</h3>
|
2747
2546
|
<pre class="programlisting"><span class="returnvalue">void</span> g_strfreev (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2748
2547
|
<p>
|
@@ -2753,15 +2552,14 @@ If called on a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title=
|
|
2753
2552
|
<col align="left" valign="top">
|
2754
2553
|
<tbody><tr>
|
2755
2554
|
<td><p><span class="term"><em class="parameter"><code>str_array</code></em> :</span></p></td>
|
2756
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings to free
|
2757
|
-
</td>
|
2555
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings to free.</td>
|
2758
2556
|
</tr></tbody>
|
2759
2557
|
</table></div>
|
2760
2558
|
</div>
|
2761
2559
|
<hr>
|
2762
|
-
<div class="refsect2"
|
2560
|
+
<div class="refsect2">
|
2763
2561
|
<a name="g-strconcat"></a><h3>g_strconcat ()</h3>
|
2764
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2562
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strconcat (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *string1</code></em>,
|
2765
2563
|
<em class="parameter"><code>...</code></em>);</pre>
|
2766
2564
|
<p>
|
2767
2565
|
Concatenates all of the given strings into one long string.
|
@@ -2774,7 +2572,7 @@ often requires the pieces to be reordered.
|
|
2774
2572
|
</p>
|
2775
2573
|
<p>
|
2776
2574
|
</p>
|
2777
|
-
<div class="warning"
|
2575
|
+
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
|
2778
2576
|
<h3 class="title">Warning</h3>
|
2779
2577
|
<p>The variable argument list <span class="emphasis"><em>must</em></span> end
|
2780
2578
|
with <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>. If you forget the <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, <a class="link" href="glib-String-Utility-Functions.html#g-strconcat" title="g_strconcat ()"><code class="function">g_strconcat()</code></a> will start appending
|
@@ -2792,21 +2590,19 @@ random memory junk to your string.</p>
|
|
2792
2590
|
</tr>
|
2793
2591
|
<tr>
|
2794
2592
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2795
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings to append to the string
|
2796
|
-
</td>
|
2593
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings to append to the string</td>
|
2797
2594
|
</tr>
|
2798
2595
|
<tr>
|
2799
2596
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2800
|
-
<td>
|
2801
|
-
</td>
|
2597
|
+
<td>a newly-allocated string containing all the string arguments</td>
|
2802
2598
|
</tr>
|
2803
2599
|
</tbody>
|
2804
2600
|
</table></div>
|
2805
2601
|
</div>
|
2806
2602
|
<hr>
|
2807
|
-
<div class="refsect2"
|
2603
|
+
<div class="refsect2">
|
2808
2604
|
<a name="g-strjoin"></a><h3>g_strjoin ()</h3>
|
2809
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2605
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strjoin (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
2810
2606
|
<em class="parameter"><code>...</code></em>);</pre>
|
2811
2607
|
<p>
|
2812
2608
|
Joins a number of strings together to form one long string, with the
|
@@ -2823,22 +2619,20 @@ should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" t
|
|
2823
2619
|
</tr>
|
2824
2620
|
<tr>
|
2825
2621
|
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
|
2826
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings to join
|
2827
|
-
</td>
|
2622
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated list of strings to join</td>
|
2828
2623
|
</tr>
|
2829
2624
|
<tr>
|
2830
2625
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2831
|
-
<td>
|
2832
|
-
|
2833
|
-
</td>
|
2626
|
+
<td>a newly-allocated string containing all of the strings joined
|
2627
|
+
together, with <em class="parameter"><code>separator</code></em> between them</td>
|
2834
2628
|
</tr>
|
2835
2629
|
</tbody>
|
2836
2630
|
</table></div>
|
2837
2631
|
</div>
|
2838
2632
|
<hr>
|
2839
|
-
<div class="refsect2"
|
2633
|
+
<div class="refsect2">
|
2840
2634
|
<a name="g-strjoinv"></a><h3>g_strjoinv ()</h3>
|
2841
|
-
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2635
|
+
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strjoinv (<em class="parameter"><code>const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> *separator</code></em>,
|
2842
2636
|
<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2843
2637
|
<p>
|
2844
2638
|
Joins a number of strings together to form one long string, with the
|
@@ -2855,20 +2649,18 @@ should be freed with <a class="link" href="glib-Memory-Allocation.html#g-free" t
|
|
2855
2649
|
</tr>
|
2856
2650
|
<tr>
|
2857
2651
|
<td><p><span class="term"><em class="parameter"><code>str_array</code></em> :</span></p></td>
|
2858
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings to join
|
2859
|
-
</td>
|
2652
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings to join</td>
|
2860
2653
|
</tr>
|
2861
2654
|
<tr>
|
2862
2655
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2863
|
-
<td>
|
2864
|
-
|
2865
|
-
</td>
|
2656
|
+
<td>a newly-allocated string containing all of the strings joined
|
2657
|
+
together, with <em class="parameter"><code>separator</code></em> between them</td>
|
2866
2658
|
</tr>
|
2867
2659
|
</tbody>
|
2868
2660
|
</table></div>
|
2869
2661
|
</div>
|
2870
2662
|
<hr>
|
2871
|
-
<div class="refsect2"
|
2663
|
+
<div class="refsect2">
|
2872
2664
|
<a name="g-strv-length"></a><h3>g_strv_length ()</h3>
|
2873
2665
|
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> g_strv_length (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="type">gchar</span></a> **str_array</code></em>);</pre>
|
2874
2666
|
<p>
|
@@ -2880,23 +2672,20 @@ string array <em class="parameter"><code>str_array</code></em>.
|
|
2880
2672
|
<tbody>
|
2881
2673
|
<tr>
|
2882
2674
|
<td><p><span class="term"><em class="parameter"><code>str_array</code></em> :</span></p></td>
|
2883
|
-
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings
|
2884
|
-
</td>
|
2675
|
+
<td>a <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.</td>
|
2885
2676
|
</tr>
|
2886
2677
|
<tr>
|
2887
2678
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2888
|
-
<td>
|
2889
|
-
|
2890
|
-
</td>
|
2679
|
+
<td>length of <em class="parameter"><code>str_array</code></em>.</td>
|
2891
2680
|
</tr>
|
2892
2681
|
</tbody>
|
2893
2682
|
</table></div>
|
2894
2683
|
<p class="since">Since 2.6</p>
|
2895
2684
|
</div>
|
2896
2685
|
<hr>
|
2897
|
-
<div class="refsect2"
|
2686
|
+
<div class="refsect2">
|
2898
2687
|
<a name="g-strerror"></a><h3>g_strerror ()</h3>
|
2899
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2688
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strerror (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> errnum</code></em>);</pre>
|
2900
2689
|
<p>
|
2901
2690
|
Returns a string corresponding to the given error code, e.g.
|
2902
2691
|
"no such process". You should use this function in preference to
|
@@ -2909,23 +2698,22 @@ not all platforms support the <code class="function">strerror()</code> function.
|
|
2909
2698
|
<tr>
|
2910
2699
|
<td><p><span class="term"><em class="parameter"><code>errnum</code></em> :</span></p></td>
|
2911
2700
|
<td>the system error number. See the standard C <code class="literal">errno</code>
|
2912
|
-
|
2913
|
-
</td>
|
2701
|
+
documentation</td>
|
2914
2702
|
</tr>
|
2915
2703
|
<tr>
|
2916
2704
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2917
|
-
<td>
|
2918
|
-
|
2919
|
-
|
2705
|
+
<td>a UTF-8 string describing the error code. If the error code
|
2706
|
+
is unknown, it returns "unknown error (<code>)". The string
|
2707
|
+
can only be used until the next call to <a class="link" href="glib-String-Utility-Functions.html#g-strerror" title="g_strerror ()"><code class="function">g_strerror()</code></a>
|
2920
2708
|
</td>
|
2921
2709
|
</tr>
|
2922
2710
|
</tbody>
|
2923
2711
|
</table></div>
|
2924
2712
|
</div>
|
2925
2713
|
<hr>
|
2926
|
-
<div class="refsect2"
|
2714
|
+
<div class="refsect2">
|
2927
2715
|
<a name="g-strsignal"></a><h3>g_strsignal ()</h3>
|
2928
|
-
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a
|
2716
|
+
<pre class="programlisting">const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> * g_strsignal (<em class="parameter"><code><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="type">gint</span></a> signum</code></em>);</pre>
|
2929
2717
|
<p>
|
2930
2718
|
Returns a string describing the given signal, e.g. "Segmentation fault".
|
2931
2719
|
You should use this function in preference to <code class="function">strsignal()</code>, because it
|
@@ -2938,14 +2726,13 @@ the <code class="function">strsignal()</code> function.
|
|
2938
2726
|
<tr>
|
2939
2727
|
<td><p><span class="term"><em class="parameter"><code>signum</code></em> :</span></p></td>
|
2940
2728
|
<td>the signal number. See the <code class="literal">signal</code>
|
2941
|
-
|
2942
|
-
</td>
|
2729
|
+
documentation</td>
|
2943
2730
|
</tr>
|
2944
2731
|
<tr>
|
2945
2732
|
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
|
2946
|
-
<td>
|
2947
|
-
|
2948
|
-
|
2733
|
+
<td>a UTF-8 string describing the signal. If the signal is unknown,
|
2734
|
+
it returns "unknown signal (<signum>)". The string can only be
|
2735
|
+
used until the next call to <a class="link" href="glib-String-Utility-Functions.html#g-strsignal" title="g_strsignal ()"><code class="function">g_strsignal()</code></a>
|
2949
2736
|
</td>
|
2950
2737
|
</tr>
|
2951
2738
|
</tbody>
|
@@ -2955,6 +2742,6 @@ the <code class="function">strsignal()</code> function.
|
|
2955
2742
|
</div>
|
2956
2743
|
<div class="footer">
|
2957
2744
|
<hr>
|
2958
|
-
Generated by GTK-Doc V1.
|
2745
|
+
Generated by GTK-Doc V1.16.1</div>
|
2959
2746
|
</body>
|
2960
2747
|
</html>
|